Skip certain subsequent actions if one action fails

Ranorex Spy, Recorder, and Studio.
jackson.delahunt
Posts: 19
Joined: Wed Sep 18, 2013 9:01 am

Skip certain subsequent actions if one action fails

Post by jackson.delahunt » Thu Oct 03, 2013 8:18 am

Hi,

Is it possible to set a certain number of subsequent actions to skip if an action fails? My application can take two paths, but will end up in the same state at the end of either one. For example?

Code: Select all

    A
    A
    A (If this action succeeds, B steps will execute, if it fails,the B
B       steps will not execute, and execution will skip to A below)
B
B
B
   A
   A
   A
Thus, is there a way to say "continue on fail, and skip the following four actions if the fail occurs, else execute them?"

Thanks for your help!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Skip certain subsequent actions if one action fails

Post by Support Team » Mon Oct 07, 2013 9:44 pm

Hello,

I am not exactly sure, but there is a similar post in our forum "How to force a test iteration to skip"
Please let me know if this helps solving our issue.
Thank you!

Regards,
Bernhard
.
Image