Hi
Can you tell me how I can stop the current test but continue with the next test; In the following situation..
I have a test with 2 code modules, when the first module fails, the second module then starts.
I've tried changing the error behaviour levels, but nothing seems to work.
Thanks
Stop Test and continue with next test
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Stop Test and continue with next test
Hi,
When you have two code modules and want that the second should be executed even though the first failed you could for instance use the following structure:
TestCase1 (Error Behavior: e.g. Continue with sibling)
CodeModule1
TestCase2
CodeModule2
Regards,
Markus
When you have two code modules and want that the second should be executed even though the first failed you could for instance use the following structure:
TestCase1 (Error Behavior: e.g. Continue with sibling)
CodeModule1
TestCase2
CodeModule2
Regards,
Markus
Re: Stop Test and continue with next test
What I want to know is if you have the following structure..
Test Case 1
- Module 1
- Module 2
Test Case 2
- Module 3
How you can prevent Module 2 from running if Module 1 failed, yet still run Test Case 2.
Thanks
Test Case 1
- Module 1
- Module 2
Test Case 2
- Module 3
How you can prevent Module 2 from running if Module 1 failed, yet still run Test Case 2.
Thanks
Re: Stop Test and continue with next test
Hi schemer1,
Test Case 1 <= Set Error Behavior to "Continue with sibling"
- Module 1
- Module 2
Test Case 2
- Module 3
If module1 fails, then Test Case 1 will fail, The Error behaviour tells that it should jump to next testcase.
On error behaviour see: http://www.ranorex.com/support/user-gui ... html#c3028
Best Regards,
Zoltan
Test Case 1 <= Set Error Behavior to "Continue with sibling"
- Module 1
- Module 2
Test Case 2
- Module 3
If module1 fails, then Test Case 1 will fail, The Error behaviour tells that it should jump to next testcase.
On error behaviour see: http://www.ranorex.com/support/user-gui ... html#c3028
Best Regards,
Zoltan