Recovery Pane (Test/Business Component Settings Dialog Box / Application Area - Additional Settings Pane)
Relevant for: GUI tests and components
This pane displays a list of all recovery scenarios associated with the current test or application area. Recovery scenario settings enable you to specify how a test or business component recovers from unexpected events and errors during a run session.
This pane also enables you to associate additional recovery scenarios with the test or application area, create recovery scenarios, remove scenarios from the test or application area, change the order in which they are applied to the run session, and view a read-only summary of each scenario.
For tests: You can also specify the default list of scenarios to associate with all new tests.
For components: This pane displays the recovery information defined for the application area, in read-only mode.
To access |
Do one of the following:
|
Important information |
|
See also |
This pane includes the following key elements:
UI Element |
Description |
---|---|
|
Opens the Add Recovery Scenario dialog box, which enables you to associate one or more recovery scenarios with the test or application area. For details, see Add Recovery Scenario Dialog Box. |
|
Removes the selected recovery scenario from the test or application area. |
|
Moves the selected scenario up in the list, giving it a higher priority. |
|
Moves the selected scenario down in the list, giving it a lower priority. |
|
Displays summary properties for the selected recovery scenario in read-only format. For details, see Recovery Scenario Properties Dialog Box. |
Scenario Name |
The name of each recovery scenario associated with your test or application area. You can add, delete, and prioritize the scenarios in the list. |
File |
The file path for each recovery scenario associated with your test or application area. You can edit the recovery scenario file path by clicking the path once to highlight it, and then clicking it again to enter edit mode. For details on scenario type icons, see Scenario Type Icons. For example, you may want to modify an absolute file path to be a relative file path. If you modify a recovery scenario file path, ensure that the recovery scenario exists in the new path location before running your test or component.
|
UI Elements |
Description |
---|---|
Scenario description |
Displays the textual description of the scenario selected in the Scenarios box. You can select or clear the check box next to each scenario to enable or disable it for the current test or application area. |
Activate recovery scenarios |
Indicates how often UFT One should activate the recovery mechanism:
Note: Choosing On every step may result in slower performance during the run session. |
Set as Default |
Sets the current list of recovery scenario files as the default list to be associated with new tests. Note: The Set as Default option is available for tests only. It is enabled when the setting for this test is different from the default for all tests. Note: If the file containing the recovery scenarios is moved or renamed, UFT One will not be able to locate it. The recovery scenario file will be displayed in the Errors pane when new actions or tests are created. For details on resolving missing resources, see Errors Pane. |
Icon |
Description |
---|---|
|
Indicates that the recovery scenario is triggered by a specific pop-up window in an open application during the run session. |
|
Indicates that the recovery scenario is triggered when the property values of an object in an application match specified values. |
|
Indicates that the recovery scenario is triggered when a step in the test or component does not run successfully. |
|
Indicates that the recovery scenario is triggered when a specified application fails during the run session. |
|
Indicates that the recovery scenario is no longer available for the test or component—possibly because the recovery file has been renamed or moved, or can no longer be accessed by UFT One. When an associated recovery file is not available during a run session, a message is displayed in the run results. |