Error Handling
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2010
09:42 AM
03-27-2010
09:42 AM
Error Handling
I need to verify if a error window pops up during my script is being executed. This window will appear invariantly anytime. There may not be a error log as well. What is the event I should append this script to.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2010
11:57 PM
03-28-2010
11:57 PM
Hi Madhi,
If you know the exact actions of your script after which an error window can appear, use the WaitWindow method. If you do not, you can set up an event handling routine for the OnUnexpectedWindow event. To learn what windows are treated as unexpected by TestComplete, see the 'Handling Unexpected Windows' help topic.
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
