With Silk Test Classic Test Plans how can I stop a Test Plan from executing further if a test case fails?
If your Silk Test Classic Test Plans consist of test cases that are dependent on the previous test case passing you may wish to stop the Test Plans from executing further if a test case fails.
We can achieve this by overwriting the DefaultTestCaseExit() statement by creating a TestCaseExit() method at the top of an include file. When a testcase encounters an error our method TestCaseExit() will be called. Within our TestCaseExit method we can use the command @("$StopRunning") to terminate the execution of the remaining tests.
TestCaseExit (BOOLEAN bException)