fix(接口自动化): 修复if条件不起作用问题

This commit is contained in:
fit2-zhao 2021-03-25 14:40:39 +08:00
parent a484f5a380
commit c538c8366b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class MsIfController extends MsTestElement {
ifController.setName(this.getName());
ifController.setProperty(TestElement.TEST_CLASS, IfController.class.getName());
ifController.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("IfControllerPanel"));
ifController.setCondition("true");
ifController.setCondition(this.getCondition());
ifController.setEvaluateAll(false);
ifController.setUseExpression(true);
return ifController;