Ask a Question

TestComplete on Unexpected Window handler not working

Community Hero

Re: TestComplete on Unexpected Window handler not working

Hi Dan,


Soungs strange...

One more guess: can you double check that the event handling routine in your test project is properly linked to the event?


  /Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Occasional Contributor

Re: TestComplete on Unexpected Window handler not working

Hi Alex,


Yes we have an unexpected window event set up, which is connected to a method in a file which I have tested and certainly does work however now I am wondering what the priority of that custom handler is. Does TC first try the default handler then the custom unexpected event handler? It seems like it skips the default handler and enters the custom unexpected window handler.

Also I have heard from other discussion on this board that anything that has to do with the expected application will never be an unexpected window, only truly unexpected windows such as a windows update or such. Is this true?




Showing results for 
Search instead for 
Did you mean: