Every once in awhile, when you run a Windows application, a popup message comes up saying that
------ has caused an error in <unknown>.
------ will now close

This is known in classical terms as a gpf. I can get rid of this message using popup exception handling. There's a problem with popup exception handling.

1) The GPF window has to be defined in your exception list which means you have to have gotten the error once and captured it. Once the error is captured, Winnrunner can look for it while the app is running.

A gpf can happen anytime and the content on the error message can be anything. I need a way for Winrunner to dynamically detect any GPF, close the error message out and resume the test. How can we do this. Can we do this with TSL exception handling. Does anyone have sample code.