Forum Discussion
AlexanderM
14 years agoStaff
Hello Aleksey,
Runner.Stop has the CurrentTestOnly parameter that specifies whether the execution of a single test or the whole sequence of tests will stop (the second variant is the default value). Set this parameter to true to stop a single test:
As an alternative, you can use the Test Items feature of TestComplete and set test items' Stop on error and Stop on exception options to Test Item. For more information, refer to the Stopping Tests on Errors and Exceptions help topic.
Runner.Stop has the CurrentTestOnly parameter that specifies whether the execution of a single test or the whole sequence of tests will stop (the second variant is the default value). Set this parameter to true to stop a single test:
function EventControl1_OnLogError(Sender, LogParams)
{
...
Runner.Stop(true);
}
As an alternative, you can use the Test Items feature of TestComplete and set test items' Stop on error and Stop on exception options to Test Item. For more information, refer to the Stopping Tests on Errors and Exceptions help topic.
Related Content
- 4 years agokiranka
- 9 months agomortenb123
- 13 years agojitendra_1