3. How to handle the exceptions using recovery secnario
manager in Qtp?

Answers were Sorted based on User's Feedback



3. How to handle the exceptions using recovery secnario manager in Qtp?..

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

3. How to handle the exceptions using recovery secnario manager in Qtp?..

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

Post New Answer

More QTP Interview Questions

Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri

5 Answers  


Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...

1 Answers  


Suppose I want fail that check point? How can you do that?

0 Answers  


how will load the object during runtime?

0 Answers  


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

0 Answers   TCS,






What is Environment Variable and when we apply this in QTP?

3 Answers   TCS,


Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ

3 Answers  


How can i parameterize the standard checkpoint using Excel sheet where my expected values are there?? suppose i want to test a application with diffent value and want to run 5 iteration?? for each iteration, values will be exported from excel sheet as input. Now i will store some expected values in the excel sheet, which i want to check in the application whether expected equals to actual value??? can any one help me

1 Answers   CSC,


How we can add objects to the object repository during the running?is it possible or not?explain

3 Answers  


can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?

4 Answers   Wipro,


Could you please explain me about QTP framework.

2 Answers   Oracle,


To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0

2 Answers  


Categories