How to skip to next the test case in the test suite?

Ranorex Spy, Recorder, and Studio.
rkchak
Posts: 1
Joined: Thu Apr 23, 2015 5:17 pm

How to skip to next the test case in the test suite?

Post by rkchak » Thu Apr 23, 2015 5:23 pm

Hi,

I am trying to implement conditional logic in user code. In my test case recording, when one of the test steps fail, I want to skip to the next test case recording in the test suite.

Thanks

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: How to skip to next the test case in the test suite?

Post by krstcs » Thu Apr 23, 2015 8:19 pm

You don't need user code for that. Ranorex has built in functionality to implement this in the test suite. You need to structure your tests correctly and set the "Error Behavior" by right-clicking the test cases and selecting the option you want for each test case.

Check out this page for information on the different settings: http://www.ranorex.com/support/user-gui ... html#c3028.
Shortcuts usually aren't...