i am entering wrong data or wrong password in a text box and
click on submit button .i am getting a popup window with a
message Please enter the correct password or data .How can i
handle this situation by using QTP.
Answer Posted / vamsi
if you want close all the pop-ups to be closed in QTP, we can use utility objects too
in the above comments they handled pop-ups using recovery scenario as well as through scripting.
but to handle pop-up with utility object write this statement in else block of verification point
Systemutil.CloseDescendantProcessess
if we add this statement the pop-up will be closed automatically by QTP
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
whare exactly we have to use functions and sub routain
What is object spy in quicktest professional (qtp)?
How the exception handling can be done using quicktest professional?
What is the difference between a Function and Action in QTP?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
When should I use smart identification?
What are the trigger events in qtp?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.