How to stop execution of the rest of my test items if one test fails
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to stop execution of the rest of my test items if one test fails
I run test complete 12.6.
Say I have a project with 4 test suites & I start executing all of them.
Suite#1 has 15 tests.
Say test Item 3 fails, how do I stop the execution of the rest of 12 tests if number 3 fails ? then continue with Suite#2,3,4
Thank you
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Need to uncheck "Stop on error" option in the project's settings
select "Project" item in "Stop on error" combobox for all tests
uncheck "Stop on error" option in the suite's settings
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you 🙂 How do you get to the last screenshot ?
Also, If I need to leave few test items out - Can I keep the test item under Stop On Error ?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Need to click on Project Suite
and select "Test Items" tab
2. If you select "Test Item" item in "Stop on error", other Test items in project will be executed.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got it. I just found out from my team that we still need to check "Stop On Error" in the last screenshot 😞 so I guess the logic wont work. We may need to create a new separate project for this one.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your suggestions, @IStaroverov,
@fazlook, just wonder why you cannot check this option. Do you think it will badly affect other tests inside this project?
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tanya,
Yes, it will. I basically rely on Stop on Error event to do lots of other things to me & I cannot uncheck this option.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the explanation, @fazlook.
In this case, creating a separate project with the suggested settings sounds like a solution.
Tanya Yatskovskaya
SmartBear Community and Education Manager
