Kamal_chennai
10 years agoContributor
How to access Main Function Name in General Events
Hi,
I have to trigger General Events when Unexpected Window Occurs.
I have following Cases,
Main Function
Sub Function 1
Sub Function 2
Sub Function 3
Now the Main Function Call 3 Subfunctions, at the time Unexpected window appear while running on Sub Function 2 or Sub Function 3.
Sub GeneralEvents_OnUnexpectedWindow(Sender, Window, LogParams)
Window.Close
Application .Terminate
End Sub
After Terminating the Application I want to call the Main Function which is called the Failed Sub function. Is it possible to get the Function? How can I get the Failed function?
Thanks
Kamal