How to handle Recovery scenario in QTP.
give detailed explanation about recovery
scenario.
Answers were Sorted based on User's Feedback
Answer / umasankar
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.
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
operation(s) necessary to recover the run session.
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 Operation(s). The operation(s) 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.
Is This Answer Correct ? | 21 Yes | 4 No |
Answer / kirankumar.y
Recovery scenario manager is used to handle exception.
exception is run time error,three steps to handle exceptions
1 .trigger event:-pop-up window,object state,test run error
and application crash
2.recovery operations:-select an operation to perform when
the trigger event occurs they are 1.keyboard or mouse
peration 2.close application process 3. fuction call 4.
restart miscrosoft windows
3.post recovery:- select the last run operation you want to
perform when the recovery operation is complect
.test run options:
1.repeate current step and continue
2.preceed to next step
3.proceed to next action or component
4.proceed to next iteration
5.restart current test run
6.stop the test run
Is This Answer Correct ? | 23 Yes | 8 No |
Answer / surya
every one knows the above process, but how to predict the
exception and how we create the scenario in real time, plz
mention 1 example for that..!!!!
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / anjali
@surya: this option we basically use in the process of negative testing, so we will know upfront that some pop-up or runtime error going to happen, rite??
you can take example as login validation, where we use more number of characters in the username when it is specified in reqmnts that the edit box should accept only some number of characters..this is part of negative testing
Correct me, if i am wrong
Is This Answer Correct ? | 3 Yes | 2 No |
How to analyzing test results using quicktest professional (qtp)?
What are metrics and matrix?
what is the recovery scenario?
How can we change the .mtr file to .tsr file and vice-versa
Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?
how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks
Why do we use text checkpoint as we can make use of the same in the standard check point?
What is Description Object?
I came across Good question ..... Write a script to only download pdf's if there are 20 links on a page. Kindly reply these type of questions are pretty challenging..
Explain the concept of object repository and how QTP recognizes objects?
What is test object model in quicktest professional (qtp)?
I am just a beginner in QTP. Could any one explain me in detail how to automate adding two numbers and getting the result in QTP. Also I would like to parameterize the inputs. I have tried but getting an error like 'Can't use sub.....'(can't recollect the exact error)