ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
what is recovery scenario in QTP? what is the need of the 
recovery scenario in QTP? what are the advantages of the 
recovery scenarios in QTP?
 Question Submitted By :: Kamal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
Answer
# 1
Generally we go for this recovery scenario manager  to
handle known errors which are occurred in un known places at
runtime we can use this.

we have four events in this recovery scenario manger
advantages of this,

application crash- to handle crashed applications at runtime
we can use this event

pop-up window- to handle unwanted windows of application
build at runtime we can use this event

test run error-to handle vb script statement errors at
runtime we can use this event

object state-to handle object related errors at runtime we
can use this event
 
Is This Answer Correct ?    7 Yes 3 No
Kavitha
 
  Re: what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
Answer
# 2
output result in not failed but temparory output as (Not 
success) with warning then it is known as recoveryscenario
   qtp as the tools and select recovery scenario as 4 types
1.pop up window
2.object state
3.error handling
4.

          for eg:flightreservation
               login and password with recording close the 
application(result will be passed)
 script:window("login").activate
        window("login").window("password").set"kondalrao"
       window("login").winbutton("ok").click  
                in this last statement used in name after 
result will be failed(please enter password)
     go to tools and select recovery scenario as first pop 
widow used in this application to click on next button
add keyboard and mouse operation and select the hand icon 
means to select (enter the password) add the object as not 
click(click the add object not the next button this not 
selected)next click on finished and saved the file finally 
result(not failed and not passed ) temperory execution with 
warning
 
Is This Answer Correct ?    2 Yes 2 No
Kondalrao
 
 
 
  Re: what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
Answer
# 3
Unexpected events, errors, and application crashes during a run session can disrupt your run session and distort results. This is a problem particularly when tests run unattended—the test pauses until you perform the operation needed to recover. To handle situations such as these, QuickTest enables you to create recovery scenarios and associate them with specific tests. Recovery scenarios activate specific recovery operations when trigger events occur. For information on when to use recovery scenarios, see Deciding When to Use Recovery Scenarios. 

The Recovery Scenario Manager provides a wizard that guides you through the process of defining a recovery scenario, which includes a definition of an unexpected event and the operations necessary to recover the run session. For example, you can instruct QuickTest to detect a Printer out of paper message and recover the run session by clicking the OK button to close the message and continue the test. 

A recovery scenario consists of the following: 

Trigger Event. The event that interrupts your run session. For example, a window that may pop up on screen, or a QuickTest run error.
Recovery Operations. The operations to perform to enable QuickTest to continue running the test after the trigger event interrupts the run session. For example, clicking an OK button in a pop-up window, or restarting Microsoft Windows. 
Post-Recovery Test Run Option. The instructions on how QuickTest should proceed after the recovery operations have been performed, and from which point in the test QuickTest should continue, if at all. For example, you may want to restart a test from the beginning, or skip a step entirely and continue with the next step in the test.
Recovery scenarios are saved in recovery scenario files. A recovery scenario file is a logical collection of recovery scenarios, grouped according to your own specific requirements. 

To instruct QuickTest to perform a recovery scenario during a run session, you must first associate the recovery scenario with that test. A test can have any number of recovery scenarios associated with it. You can prioritize the scenarios associated with your test to ensure that trigger events are recognized and handled in the required order. For more information, see Adding Recovery Scenarios to Your Test. 

When you run a test for which you have defined recovery scenarios and an error occurs, QuickTest looks for the defined trigger events that caused the error. If a trigger event has occurred, QuickTest performs the corresponding recovery and post-recovery operations. 

You can also control and activate your recovery scenarios during the run session by inserting Recovery statements into your test. For more information, see Programmatically Controlling the Recovery Mechanism. 

Note: If you select On error in the Activate recovery scenarios box in the Recovery pane of the Test Settings dialog box, the recovery mechanism does not handle triggers that occur in the last step of a test. If you chose this option and need to recover from an unexpected event or error that may occur in the last step of a test, you can do this by adding an extra step to the end of your test.
 
Is This Answer Correct ?    0 Yes 0 No
Jaspreet Kaur Vohra
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J ADP1
What is the use of virtual objects?  1
How can the expected image for a bitmap checkpoint be recaptured in QTP Ordain-Solutions1
Explain about reusable actions? IBM2
How to parameterize a text field and the same field as combo field on next page. Means inserting values in Text field will appear in the combo field. for example country name, state name. Kindly reply it is urgent !!! Adobe1
how do you done Data-driven test using MS-Word Instead of DataTable IBM3
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private  1
what is the exact Diff. Between Test and Component in QTP?  1
If you use low level recording,what objects will be recorded in Object Repository and what properties? CTS3
What is Environment Variable and when we apply this in QTP? TCS3
cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs Symphony5
I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.  1
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.  3
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y? IBM3
. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why? Polaris4
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?  1
How to use Regular Expressions in QTP  1
How can we retrieve the links from a web page where links are dynamically changing(for eg take a online shopping website) and then we have to click on all the links present in the webpage and go to the repective pages and again come back to the first page..  2
Q- what is the advantage of merging tool in QTP 9.2? TCS1
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com