Ask a Question

Error Handling


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.

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. ⬇️⬇️⬇️
Showing results for 
Search instead for 
Did you mean: