Any unexpected event or erroneous condition that crashes the AUT during execution needs to be recovered. To handle these situations, QTP allows us to define the recovery scenarios and associates them with the test. Recovery scenarios activate specific recovery operations when trigger events occur.
The recovery scenario manager allows us to define the recovery scenario, that includes an unexpected event and the operations to recover during a run session. For example, an unexpected pop-up message appears and the recovery scenario is recovered from it by clicking on the OK button in the pop up.
A recovery scenario has the following elements:
Trigger event: Any event that abruptly interferes with the normal flow of the test runs, for example, a dialog pops up during test execution.
Recovery operations: The recovery option allows QTP to continue running the test or its components after the trigger event hampers test execution. For example, closing the pop-up window...