Test Suite Configuration to terminate after any test fail

Hi.
I have some test cases which are dependent on each other so Test Suite should not continue for other test cases. How can I adjust my test suite for this purpose ?

Briefly, if one test case fails, then test suite should be ended.

2 Likes

Hello
Take a look at this topic:

http://forum.katalon.com/discussion/1988/can-i-create-a-dependency-between-testcases

I believe you could use the FailureHandling which is described here:
https://docs.katalon.com/display/KD/Failure+handling
You can also use KeywordUtil.markFailed/markFailedAndStop to mark the test as failed and stop the execution.
https://api-docs.katalon.com/com/kms/katalon/core/util/KeywordUtil.html

Mate Mrse said:

Hello
Take a look at this topic:

http://forum.katalon.com/discussion/1988/can-i-create-a-dependency-between-testcases

Your link doesn’t work !!

@Yves Beaulieu

The same discussion here:

I have got a practical solution to this problem: