ARTICLE

Triggers in Recovery Scenario Wizard of QTP in Testing

Posted by Varesh Tuli Articles | Testing December 18, 2012
In this article I discuss types of Triggers in the Recovery Scenario Wizard.
Reader Level:

We will see the Recovery Scenario Wizard by selecting it through "Resources" > "Recovery Scenario Manager". Select a new scenario.

Recovery-Scenario-Manger.jpg
 

It displays the select trigger event screen. It enables you to define the event type that triggers the recovery scenario and the way in which Quick Test recognizes the event. The trigger types are the following.

Popup Window: Quick Test detects a popup window and identifies it by the window title and textual content. For example a message box may open during a run session, indicating that the printer is out of paper. Quick Test can detect this window and activate a defined recovery scenario to continue the run session. Select this option and click Next to continue to the soecify pop up window conditions screen.
 

popup-window.jpg
 

Object State: Quick Test detects a specific test object state and identifies it according to its property values and the property values of all its ancestors.
 

Object-State.jpg
 

Test Run Error: Quick Test detects a run error and identifies it by a failed return value from a method. Quick Test can detect this run error and activate a defined recovery scenario to continue the run session.

Test-Run.jpg
 

Application Crash: Quick Test detects an application crash and identifies it using a predefined list of applications.

Application-Crash.jpg
  

Login to add your contents and source code to this article
post comment
     
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter