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


Please Help Members By Posting Answers For Below Questions

Can any body please tell me the steps of keyword driven framework of QTP.

1570


Can we write winrunner language i.e TSL in QTP tool?

1479


How do you know the location Id of an object if you know its index id?

592


what is the difference between built-i function and In-built function?

1638


What are the different types of checkpoints?

589






What is smart identification in QTP?

634


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1463


What is standalone database?

1748


How to use conditional loops in qtp ?

591


Get the count of files of similar types from a folder.

975


What is the parameterization? Give one example?

594


Hi All, How to get repeated word in string . Thanks Balaji

943


What are the types of properties that quick test learns while recording?

540


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1419


When Recovery scenario actually starts while testing the application?

1548