Forum Discussion
Jackson_L
12 years agoContributor
Hello Serglu,
I'm using TestComplete to stop the current test when it hits an error and proceed to the next one. You're on the right path using Event Handlers, set one up for OnLogError and in it, call Runner.Stop(True);
eg
function ProjectEvents1_OnLogEvent(Sender, LogParams)
{
Runner.Stop(True);
}
http://support.smartbear.com/viewarticle/14191/
http://support.smartbear.com/viewarticle/12335/
I'm using TestComplete to stop the current test when it hits an error and proceed to the next one. You're on the right path using Event Handlers, set one up for OnLogError and in it, call Runner.Stop(True);
eg
function ProjectEvents1_OnLogEvent(Sender, LogParams)
{
Runner.Stop(True);
}
http://support.smartbear.com/viewarticle/14191/
http://support.smartbear.com/viewarticle/12335/
Related Content
- 5 years agomortenb123
- 7 years agoAbdi
Recent Discussions
- 5 hours agoMW_Didata