cancel
Showing results for 
Search instead for 
Did you mean: 

Error Handling

Madhi
Contributor

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

RE: Error Handling


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. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors