SetActivationMode Method
Description
Sets the activation mode for all the recovery scenarios associated with the test or component.
Syntax
Visual Basic
Public Sub SetActivationMode( _
   ByVal Mode As String _
) 
Parameters
Mode
The activation mode to use.
Possible values:
OnEveryStep--The recovery mechanism is activated after every step.
OnError--The recovery mechanism is activated only after steps that return an error.

Remarks

The activation mode indicates when UFT checks whether enabled recovery scenarios need to be run.

Note: Setting the mode to OnEveryStep may result in slower performance during the run session.

See Also