Recovery Object
Recovery Object
Description
Represents the Recovery pane of the Test Settings or Business Component Settings dialog box, which enables you to configure which recovery scenarios to associate with a test or business component.
Object Model
Recovery Object RecoveryScenario Object
Remarks
Tip: When working with tests, you can click the Generate Script button in the General pane of the Test Settings dialog box to automatically generate an automation script containing the current global testing options, including those represented by the Recovery object. 
Example
Public Methods
Public Method Add Adds the specified recovery scenario to the specified position.
Public Method Find The position of the specified recovery scenario.
Public Method MoveToPos Changes the order of the recovery scenarios by moving a recovery scenario from its current position to a specified position.
Public Method Remove Removes the recovery scenario that is located in the specified position.
Public Method RemoveAll Removes all recovery scenarios from the Recovery collection.
Public Method SetActivationMode Sets the activation mode for all the recovery scenarios associated with the test or component.
Public Method SetAsDefault Sets the current list of recovery scenarios as the default recovery scenarios for all new tests or business components.
Public Properties
Public Property Count The number of the recovery scenarios associated with the open test or business component.
Public Property Enabled Indicates whether the recovery mechanism is enabled.
Public Property Item Returns the recovery scenario item located in the specified position.
See Also