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 / neeraj
Hi Friend
You can go through the "Recovery Scenario" for
this kind of problem. Steps are..in QTP 9.2
Resources-> Recovery Scenario Manager-> click on first image
that is with right side of "Scenarios"(only the enabled
image)text-> read the content and "Next"-> these are the
condition wherever we use Recovery Scenarios select one of
them according wat type of error you have(pop up
window)->"Next"->Click on "Hand" pointer and capture the
popup window and "Next"->"Next"->Select the event you want
to perform "next"->"Next"-> From Recovery operation window
un select the check box and "next"-> "next->"next"-> Write
some description or not(optional)->"next"-"Finish"->"Save"
in your destination.
Now you can use that in your script.
Have a look(softestonline-neeraj043.blogspot.com)
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Can any body please tell me the steps of keyword driven framework of QTP.
Can we write winrunner language i.e TSL in QTP tool?
How do you know the location Id of an object if you know its index id?
what is the difference between built-i function and In-built function?
What are the different types of checkpoints?
What is smart identification in QTP?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What is standalone database?
How to use conditional loops in qtp ?
Get the count of files of similar types from a folder.
What is the parameterization? Give one example?
Hi All, How to get repeated word in string . Thanks Balaji
What are the types of properties that quick test learns while recording?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
When Recovery scenario actually starts while testing the application?