EDTB
10 years agoNew Contributor
TestCase FAIL even if all steps PASSED when using loop
Hi all,
I'm executing a test case in which some of the steps are executed multiple times using loop in groovy. If test step failed I use timer and wait for some time and then loop through the step again until it PASS.
But when the test is finished with all steps "passed" (green) the test case itself is FAILED, probably because of failed step in previous loop. This can be seen in the attached screenshot
Is it possible to PASS or FAIL test case depending on latest steps results?
Thanks in advance!!!
I'm executing a test case in which some of the steps are executed multiple times using loop in groovy. If test step failed I use timer and wait for some time and then loop through the step again until it PASS.
But when the test is finished with all steps "passed" (green) the test case itself is FAILED, probably because of failed step in previous loop. This can be seen in the attached screenshot
Is it possible to PASS or FAIL test case depending on latest steps results?
Thanks in advance!!!