Hi guys,
Have a question for You .
I've just started to write some test cases with Ranorex and right now I have a problem so maybe You have a solution
I planned to write a module for every test case i'll run (Setup,Smoke,etc - You can take a look at the screenshot!) ) and run them sequentially
The question is: My first test is a product setup, so , in case it fails, I don't want to run all the other tests so basically I want to stop the whole suite.
Any idea on how to solve this? I tried to set "Error behavior " to "Stop" but if I'm not wrong it's related to the test case and not to the suite, so all the other tests are executed.
Any suggestion?
Thanx
Stop Suite Execution
Stop Suite Execution
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Stop Suite Execution
Hi,
setting the "Error Behavior" of a specific Test Case in your Test Suite will make the whole Test Suite stop.
As you can see in the screen shot of your reporting, the Test Cases "SmokeTest" and "TestCase" have been blocked and have not been executed.
Regards,
Tobias
Ranorex Team
setting the "Error Behavior" of a specific Test Case in your Test Suite will make the whole Test Suite stop.
As you can see in the screen shot of your reporting, the Test Cases "SmokeTest" and "TestCase" have been blocked and have not been executed.
Regards,
Tobias
Ranorex Team
Re: Stop Suite Execution
Ah shame on me !
While I checked my code i commented the line with "Report.Failure("text")" and that's the reason why test suite didn't stop .
Now is fine
Thanx
While I checked my code i commented the line with "Report.Failure("text")" and that's the reason why test suite didn't stop .
Now is fine
Thanx