Pause test execution on posting an error
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2010
04:48 AM
04-05-2010
04:48 AM
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.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2010
08:14 PM
04-05-2010
08:14 PM
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.
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. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
