Application Crash:

QTP detects an application crash and identifies it according to a predefined list of applications. When you select this option, you will get a pre-defined list of processes from which you will have to select a specific process due to which this error occurred.

1.    Navigate Tools à Recovery Scenario Manager,


Click on New Scenario button for generating the new recovery Scenario





1.    Click the Next button on ‘Welcome to the Recovery Scenario Wizard’ window.





1.    Select the Application Crash and click on Next button in ‘Select Trigger Event’ window.






1.    Select the Running Processes in ‘Select Processes” Window and click on Next button.

 You must define at least one recovery operation. To define a recovery operation and add it to the Recovery operations list, click Next Button to continue to the Recovery Operation Screen.


Define Operation Type on Recovery Operation Screen and click on Next Button.


Define Select keyboard or mouse operation on ‘Recovery Operation – Click button or Press Key’ window and click Next button.



Define the Test Run Options on ‘Post-Recovery Test Run Option’ window and click on Next button.


Provide Scenario Name and Description on ‘Name and Description’ Window and click on Next button.


1.     Click on Finish Button on ‘Completing the Recovery Scenario Wizard’ window.
Note:
  1. To instruct QuickTest to perform recovery scenario during unattended execution, you should first associate that recovery scenario to that test.
  2. A test can associate any number of Recovery Scenarios with that test.


No comments:

Post a Comment