3. How to handle the exceptions using recovery secnario
manager in Qtp?
Answers were Sorted based on User's Feedback
Answer / lakshmana kaminedi , 986686787
the answer given by sridhar is right, but let me explain
breifly,
see recovery scenario manager is used to handle unexpected
events or errors that occur during test run.
so for this inorder to over this problem., we have a
recovery scenario wizard which is available in QTP tool.
where the main objective is to
1) if any event or error occurs--"how to handle them?" i
mean v can define easy steps when a pop window is displayed
in between a test run then we instruct QTP how to identify
that particular popup
2) As soon as identifying what to do next? supressing that
particular popup window is the next step. so we ill define
some steps to supress that particular pop up window.
3) and now the third level,.. ie, post recovery when an
error or a popup window is identified, and supressed
successuflly the next steps are nothing but post reovery
steps, in other words instructing QTP whether to stop the
test run or to move on to next step, or to move on to next
iteration etc,... save the recovery scenario with ".qrs"
extenstion and associate the recovery scenario to the QTP
tool (file-->Test settings-->recovery tab---> add the
recovery what ever we have saved and run the test.
any doubts regarding recovery u can raise
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sridhar
You can instruct QTP to recover unexpected events or errors
that occured in your testing environment during test run.
Recovery scenario manager provides a wizard that guides you
through the defining recovery scenario. Recovery scenario
has three steps
1. Triggered Events
2. Recovery steps
3. Post Recovery Test-Run
| Is This Answer Correct ? | 3 Yes | 2 No |
How to handle run time errors?
IN A WEB PAGE THERE IS TWO WEB BUTTON WITH SAME OBJECT PROPERTY AND VALUE, SO HOW I WILL IDENTIFIE OBJECTS INDIVISUALY.
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
What is the diff between image and bitmap check point?
How to use transactions in qtp?
how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)
What is the difference between Client/Server application and Web application ?
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
Have you used xml check point in your project? How?
draw the qtp frame work?
what is the default ordinal identifier.what are the send keys in qTP.