Forum Discussion

anandvblr's avatar
anandvblr
Frequent Visitor
10 years ago

unhandled exception script doesnot recognise the unexpected message box

I am working on wpf windows based applicaiton.I have created unhandled exception for message box using testcomplete event handler option. Still while running script unexpected messagebox with yes and no button is not recognised by this exception script. The Testrun holds on this stage for continue execution. I tried with all feasible option provided by the testcomplete tool under generalevents it is not working.

 

I donot have any problem with warning messagebox ,it is taken care by the same unhandled excpetion script.

  • Did you mean OnUnexpectedWindow handler? If so, I would suggest you first check Project > Property > Playback and ensure the 'Ignore unexpected window' is not checked (selected).