Recovery Scenario in UFT

Recovery scenario in UFT is designed to handle unexpected issues during test execution by UFT. There are four types of recovery scenarios. Let’s see how they work.

When executing scripts we may get some Unexpected errors. To recover the test and continue running script from these unexpected errors we use Recovery Scenario in UFT.
What happens in  Recovery Scenarios?

There are three main parts in any type of recovery scenario in UFT.

  • Trigger Event
  • Recovery Operation
  • Post Recovery Test Run Option


Each type of recovery scenario in UFT consists of the following:

Trigger Event:

The event that interrupts your run session. For example a window that may pop up on screen.

Recovery Operations:


The operations to perform to enable QTP to continue running the test after the trigger event interrupts the run session. For example, clicking an OK button in a pop-up window.

Post-Recovery Test Run Option:

  1. Pop-up window: To handle unwanted pop ups.
  2.  Object state: To handle object related errors at runtime.
  3.  Test run error: To handle vb script statement errors at runtime.
  4.  Application crash: To handle crashed applications at runtime.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.