How do I catch an error popup that appears... Asynchronously?
So, moving along in my tests, All is going swimmingly, Hamsters are running full tilt, data is being processed, when suddenly...
That's not good.
ESPECIALLY since the application sometimes continues running for a while... (This error pops on any issue, sometimes the issue is from a SP that is running asyncronously)
So,
I need to create a kind of... "Watch" process... If this window EVER appears, stop what you are doing and handle it
THe Object itself shows as
And, for further "Identification", I can "look" at this:
Before I go into what I need to do IF I encounter the object... I need to know HOW to "Catch" it
Hi,
Is the same Application Error unexpected window opens for the other tests ?
If it is not (i.e. some other unexpected window is opened) then you can identify the window in the event handler and either process it or not.
If the same unexpected window is displayed but you like to handle it in one test and do not handle in another test, then the simplest solution might be to set some Temporary Project Variable (see help for more details) as a flag of whether or not the window must be handled.