10 years ago
TestCase FAIL even if all steps PASS when using loop
Hi all,
I'm executing a testcase 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 looping through the step again until it PASS.
But when the test is finished with all steps "passed" the test case itself is FAILED, probably because of failed step during first loop.
Is it possible to PASS or FAIL testcase depending on latest steps results?
I'm executing a testcase 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 looping through the step again until it PASS.
But when the test is finished with all steps "passed" the test case itself is FAILED, probably because of failed step during first loop.
Is it possible to PASS or FAIL testcase depending on latest steps results?