| || |
Call back function in VBS
i have a user message window in my AUT that sporadically appears.
i cannot know when this message will appears.
after speaking with the development team, they tell me they could expose the api of that window, so i can write a call back function that after is registered to this api, it will be called each time the user message windows appears.
its a dot.net application (2.0)
i would like to know how to write this function or if someone has another idea about how to catch a user message in runtime.
Re: Call back function in VBS
Use recovery scenario. Select Pop-up option from
Tools->Recovery Scenario and specify pop up window information. Attach this recovery file to the current test. Every time you run test script if QTP identifies this popup it will perform the operation you have specified in recovery scenario file otherwise it ignores and continue to run next statement in the script.