tmahender12
10 years agoFrequent Contributor
event handlers
What is differencfe between Overlap window event handler and Unexpected window event handler?? attached screen ..iam not able to handle with the eventhandlers...any suggestions??
I got a modal window, which is not recognized by unexpected window handler,so it is not entering into unexpected handler.
i tried play back->Unexpected window options, nothing could work.
is there any other way of handling attached modal window/dialog
Does Test Complete logs an error under this condition? If so we have an OnLogError event and we can write the event handler for addressing the modal dialog insiide the event handler function for .OnLogError
No, Test Complete just remains in Pause state until i click o.k in the attached pop up
If a non window dialog box appears in between the tests, then what is the solution??, as the tests are not entereing into Unexpec t window Event handlers, as there is non window dialog,
May be you can handle this dialog using IF/THEN statement?
IF unexpectedObject.Exists THEN do some action ELSE do another action