Tuesday, June 15, 2010

Recovery scenario manager for QTP

Unexpected events, errors, and application crashes during a running session can disrupt your application and execution section. This is a problem particularly when tests run unattended window or pop-up or Notification. The test pauses until you perform the operation needed to recover.

QTP enables you to create recovery scenarios and associate them with specific tests. Recovery scenarios activate specific recovery operations when trigger events occur.

Define the Recovery scenario
1.    Trigger Event:-
      Pop-up window:-Pops up window an opened the applications during the test run
               Object State: - Object identification issue in our application not match specified value
               Test Run:- Step in your test does not run successfully
               Application crash: Open applications fails during the run times

2.    Recovery Event
     Select the operation to perform when the trigger event occurs
Operation type
               Keyboard or Mouse Operation
               Close application process
               Function call
               Restart the OS (windows)

3.    Post Recovery Event
The recovery operations have been performed and which point in the test or QTP should be continue, the following steps are available in QTP like
     Repeat current Step and Continue
     Proceed to next step
     Proceed to next action or component iteration
     Proceed to next test iteration
     Restart current test run
     Stop the test run

Finally entered the recovery scenario name and saved the operation

Features & Benefits of Quick Test Professional


  • ·         Key word driven and Expert view testing
  • ·         Suitable for both client server, web based application, Oracle Apps, SAP
  • ·         Handling object using Object Repositions manager
  • ·         Descriptive Programming
  • ·         Script language for VB scripts
  • ·         Error handling mechanism
  • ·         Excellent data driven testing features using external File like Excel and Notepad
  • ·         Object Spy and Object Identification feature
  • ·         Verify the file ,text, image and data from database using check points
  • Recovery scenario