Hello AlishaM,
Thank-you for your question.
Please read the following explanation about QTP Recovery Scenarios:
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.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:
2.1 Keyboard or mouse operation
2.2 Close application process
2.3 Function call
2.4 Restart Microsoft windows
3. Post recovery:
Select the last run operation you want to perform when the recovery operation is complect .test run options:
3.1 Repeat current step and continue
3.2 Proceed to next step
3.3 Pro1ceed to next action or component
3.4 Proceed to next iteration
3.5 Restart current test run
3.6 Stop the test run
Please contact zap for further help.
Thanks,
Sasha