- The recovery scenario file containing the recovery scenario you want to add. You can specify a complete or relative path.
- The name of the recovery scenario you want to add.
- The position in which you want to add the recovery scenario. Position values begin with 1.
If you do not specify a position, the recovery scenario is added to the end of the list (position=-1).
UFT loads recovery scenarios when a run session begins. Therefore, you should not use the Recovery.Add method as a step within a test. You can use the Recovery.Add method within automation scripts to add recovery scenarios to a test before running it.