[Studio] How do I terminate test case on failure of any step?

Currently, I have test suites with multiple test cases and when any step fails in a test case, it still tries to run remaining cases and these remaining cases will however fail.

I need my test case execution to terminate on failure of any step and to continue to run other test cases in test suite. How can I do that?

Any suggestions are highly appreciated! Thanks in advance!


Maybe you shouldn’t use test suites in this case…


Test suites are supposed to run all test cases…

Instead, you should probably create a test case and call all those child test cases:

WebUI.callTestCase(findTestCase("[your first test case]"), [:]);

// ...

WebUI.callTestCase(findTestCase("[your last test case]"), [:]);


Or you can try:
Project Settings > Test Design > Test Case > Default Failure Handling For Test Step = STOP_ON_FAILURE


Welcome to the community

I hope this documentation will help you understand better