Forum Discussion
HKosova
Alumni
9 years agoIn the general case, given test items A and B, to skip B if A fails you need to:
- Make B a child item of A.
- For A, set "Stop on error" and "Stop on exception" to "Test Item".
- Unselect project properties "Stop on error" and "Error dialog".
This way if A fails B will be skipped.
For example, if your app crashes at the end of Test2 so that Test2 itself fails, you can use:
Test2 Stop on error = Test Item, Stop on exception = Test Item
┠ Test3
┖ Test4
Send Email
If it crashes at the beginning of Test3:
Test2
Test3 Stop on error = Test Item, Stop on exception = Test Item
┖ Test4
Send Email