You can enable or disable specific scenarios and determine when QuickTest activates the recovery scenario mechanism in the Recovery tab of the Application Area Settings dialog box. When you disable a specific scenario, it remains associated with the application area, but is not performed by QuickTest during the run session. You can enable the scenario at a later time.
You can also specify the conditions for which the recovery scenario is to be activated.
To enable/disable specific recovery scenarios:
- In the General pane of the application area, click the Additional Settings button. The Application Area Settings dialog box opens.
- Click the Recovery tab.
- In the Scenarios box, perform one of the following:
To define when the recovery mechanism is activated:
Note that the step that returns an error is often not the same as the step that causes the exception event to occur.
For example, a step that selects a check box may cause a pop-up dialog box to open. Although the pop-up dialog box is defined as a trigger event, QuickTest moves to the next step because it successfully performed the check box selection step. The next several steps could potentially perform checkpoints, functions or other conditional or looping statements that do not require performing operations on your application. It may only be ten statements later that a step instructs QuickTest to perform an operation on the application that it cannot perform due to the pop-up dialog box. In this case, it is this tenth step that returns an error and triggers the recovery mechanism to close the dialog box. After the recovery operation is completed, the current step is this tenth step, and not the step that caused the trigger event.
Note: Choosing On every step may result in slower performance during the run session.
No comments:
Post a Comment