ContributionsMost RecentMost LikesSolutionshow to write ur own Event.I want to write to a timer event which will be running behind to check for some particular window n when it catches it should do specific task(here ropening the application) and resume the normal execution. or we will redirect the script execution in the that event handler itself. is it possible??Re: dont recognizing as the unexpected window.hi Alexei I am using Script code. actually i didn't hv attached the event. now event "OnlogError" is being triggered but this is not the correct way i suppose, it will be triggered for all log errors but as if now its fine. anyway thanks for ur support :). Actually when the crash window comes the running application hangs up so it (TC) cant access any controls further. n start putting error log. i have seen the there is the entry for crash window(which i want to be treated as unexpected window) in Name mapping. is this the reason it doesnot reognize it as unexpected window??. Re: dont recognizing as the unexpected window. @ Nikita: I have done the same but its not recognizine it as unexpected window. see the attachments @alexei : i have tried to handle it as event but its not being called. see the attachments Sub GeneralEvents_OnTimeout(Sender, Params) Call crashCheck End Sub Sub GeneralEvents_OnLogError(Sender, LogParams) Call crashCheck End Sub dont recognizing as the unexpected window.Hi, We recently purchased Test Complete 7 and I am having trouble with the recognizing Unexpected Window. while running My application through TC when my application crashes it is not recognizing it as unexpected window and it keep running behind. but because fo app. crashes it donot get the control further and start giving log error(object not found). plz suggest how to handle that crash window that can pop up anytime. or if there is anyway to make it as unexpected window. Ashu