Enable Engines 3.0 Recovery

Engines 3.0 Recovery is available for the following error types:

  • dialog failures, i.e. the interaction between Tricentis Tosca and the system under test fails

  • verification failures, i.e. the value provided by the system under test does not match the specified test value

  • exceptions, i.e. unforeseen events that keep Tricentis Tosca from executing

You can enable it either globally or for individual objects in your workspace.

Exception Recovery does not support conditional statements if the property RetryLevel is set to TestStep or TestStepValue. If a TestStep in a conditional statement throws an exception and the property RetryLevel is set to TestStep or TestStepValue, Tricentis Tosca aborts execution.

Enable Recovery globally

Enable Recovery globally if you want to apply the same Recovery settings to all objects in your workspace.

To do so, enter the value Recover for the respective setting under Project->Settings->TBox->Recovery.

Settings dialog: Enable Recovery for dialog failures

You can also define how often Tricentis Tosca should repeat Recovery attempts in the following settings:

  • TestCase retries: maximum number of Recovery attempts for a TestCase

  • TestStep retries: maximum number of Recovery attempts for a TestStep

  • TestStepValue retries: maximum number of Recovery attempts for a TestStepValue

Enable Recovery for individual objects

You can define Recovery settings for specific objects, such as individual TestCase folders.

To do so, create a test configuration parameter. The name of the parameter is the same as that of the corresponding setting, but without spaces.

Recovery test configuration parameters for Sample TestCases folder

If you have defined Recovery settings in the Settings dialog, the test configuration parameters override these settings for this particular object.