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 |
Why we load add-ins in qtp?
How to retrieve alpha bate from the alphanumeric string with special character.
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
what is the frame work your using in automation testing
Extract a word from a sentenece?
can the activities of test case design be automated?
What are the problems / difficulties faced when you used Smart Identification ?
How to identify whether a web page exists or not without using Browser(" ").Page(" ").Exist?
Is there any MS Access addin in QTP?
How many scripts do you write per day. What is the average number of scripts you have written in your recent project
1 Answers CenturyLink, Optum, Value Labs,
How to execute a VBS file without using Execute File statement?