Ask a Question

Pause test execution on posting an error

cbruck_1
Occasional Contributor

Pause test execution on posting an error

Currently this setting doesn't quite do what it says.  If you create an exception handler which will prevent the error from actually posting to the log, having this option set will cause code execution to pause on the first line of the handler.



If we could either get this fixed (so that it only happens when there is actually an error posted to the log), or alternatively another option that does that, it would be extremely helpful.
1 REPLY 1
YMinaev
Staff

RE: Pause test execution on posting an error

Hi,



You can create a handler for the OnLogError event and analyze the error text in it. This will allow you to pause the script only on the needed errors by using the Runner.Pause method.
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: