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
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
Which recording modes need more memory?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
What is quicktest professional window?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
How many types of recording modes in qtp? Describe each type with an example where we use them?
UFT 12.02 which ALM version will support
How do you configure QTP AND Test director?
How to modify the text checkpoint?
What is qtpro?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
What will be happen if i load object repository at run time, but it has already associated.
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
what is ODC and GDC?
Please guide me release notes of Automation once scripts are completed