01-29-2018 11:07 AM
In a subsequence, I would like to give a step 2 chances to pass. The step requires a setup step, so I cannot using the looping step property. I am using a while loop with "Locals.i < 2 && ! Locals.pass".
The problem: if the step fails the first time through and passes the second time through, the sequence is marked as failed.
Is the best way to fix this adding a statement like
ThisContext.SequenceFailed = False
with a precondition to be executed if the test passed?
01-29-2018 11:24 AM
In the step's properties, go to Run Options. There is a checkbox for Step Failure Causes Sequence Failure. Uncheck that. You can later have a Pass/Fail step with no adapter to cause a sequence failure if you still have a fail condition.