When programming with QTP, you may face a situation where pop ups will come on the top of application. These pop ups will make the objects invisible on the screen Thus it hampers the execution of test in QTP.
SO it is necessary to handle these pop ups and close them as soon as they appear on the application.
To handle pop ups, You must create a recovery scenario in QTP. Below are the steps to handle the pop up in QTP
Whenever pop up window appears , function will be automatically triggered and it will close the pop up window.
This is how we can handle pop up window in QTP.
SO it is necessary to handle these pop ups and close them as soon as they appear on the application.
To handle pop ups, You must create a recovery scenario in QTP. Below are the steps to handle the pop up in QTP
- Go to recovery scenario manager.
- Select Trigger Event as pop up window.
- In next step, provide the title of pop up window.
- In next step choose, recovery operation. You may choose to call a function or press any key.
- In next step provide the post-recovery operation like proceed to next step.
- In last step give recovery scenario name to this scenario and save this in file .qrs.
Whenever pop up window appears , function will be automatically triggered and it will close the pop up window.
This is how we can handle pop up window in QTP.
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs