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 |
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?
HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............
What is an Regular expression doing in VBScript?Tell the pattern for the email verification.
Could any one suggest web site links to learning VB Script for QTP purpose??
If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
I want to install qtp software in my system, My operating system is vista . Anybody please suggest me how to get QTP software with licence key
How to check bitmap output value?
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?
How to handle Dynamic Arrays?
How to make arguments optional in a function?
request to add whatsapp grp for test engineer
Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?