automationScript

Types of Recovery scenario in UFT

When executing scripts we may get some Unexpected errors. To recover the test and continue running script from these unexpected errors we use Recovery Scenarios.
What happens in  Recovery Scenarios?
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.

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.
Summary

Subscribe for updates