I have write a hander function to deal with the UnhandledException notification:
and my code like:
sub hander1(temp AS VARIANT )
fail "Unhanded exception happened."
' endTest()
' startApp1()
end sub

'******* SCENARIO SECTION ***********************

'*** Scenario 1:

on UnhandledException ("iEncoder.exe") call hander1


Scenario "a"
WMenuSelect("Encode\Test / Preview") 'This step will invoke a unhandled exception
End Scenario
But it seemed it will not invoke the hander function when the exception happened. It only terminal the current test program. Did I use it incorrectlly? Who can give me a sample code of use the UnhandledException notification.