Forum Discussion

redpiyo's avatar
redpiyo
New Contributor
14 years ago

Freeze diagnostics not working

http://img693.imageshack.us/img693/8057/stoppedworkingwhilewait.png



http://img138.imageshack.us/img138/7671/errn.png



When i encounter my test application has stopped working, even i set the freeze diagnostics to terminate test application, after the timeout setting in the freeze diagnostics,the process filter mode was tried on All process or only tested apps but  the foreground window still remains, only the background tested apps was terminated, is there a way to terminate also the foreground window as the one in image 2?

1 Reply


  • Hi Andrew,





    You can create a script handler for the OnLogError message and check whether the problematic window exists in the handler. If the window exists, close it.





    You can find information on this event in the OnLogError Event help topic. You can use the WaitWindow Method to check whether an object exists.