Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Steve,
If the OnUnexpectedWindow event handler isn't implemented in the project, TestComplete tries to close the window by doing the following actions (one by one if the previous step failed): it clicks on a focused button of the window, presses Esc, presses Enter and sends the WM_ClOSE command.