Browse Source

Nested if else bug resolved

Akash 3 years ago
parent
commit
c8a3502868
1 changed files with 2 additions and 0 deletions
  1. 2 0
      baangt/TestSteps/TestStepMaster.py

+ 2 - 0
baangt/TestSteps/TestStepMaster.py

@@ -289,6 +289,8 @@ class TestStepMaster:
             if not self.ifIsTrue:
                 self.manageNestedCondition(condition=lActivity)
                 logger.debug("Executing ELSE-condition")
+            else:
+                self.ifIsTrue = False
         elif lActivity == "ENDIF":
             self.manageNestedCondition(condition=lActivity)
         elif lActivity == "REPEAT":