Forum Discussion

cbruck_1's avatar
cbruck_1
Occasional Contributor
15 years ago

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

  • 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.