TestProject Forum

Go to the previous step by condition

Hello community
I’m new to testproject. Please help me.
Can i write the steps like this:
if step 3 fails, execute step 2
if step 3 is successful, continue with steps 4, 5 …
I’ll appreciate your support.

Hi @zeleznov.sergey,

You can use the Recover test option.
First, create a test that contains only those steps that you want to execute if the step fails.
Then, select the step where you want to add this scenario → Click on advanced Options → Under how to act if the step fails select Recovery Test:

Now, if this step fails it will execute the Recovery test, otherwise it will continue the next steps in this test.

1 Like