Work with Engines 3.0 Recovery

Engines 3.0 Recovery offers a flexible way to handle errors directly in Tosca. It allows you to create Recovery Scenarios, i.e. "corrective" TestSteps that Tosca executes if a particular test fails.

You create your Recovery Scenarios in the TestCases section. Tosca applies them once you run the respective ExecutionList in the Execution section.

Engines 3.0 Recovery is available for automated tests.

The ScratchBook does not support Recovery.

Best practices

If you haven't yet, check out "Best practices | TestCases | Error handling", which explains important considerations for recovery and cleanup procedures.

Configure Recovery

To configure Recovery for your tests, follow the steps below:

  1. Enable Recovery in one of the following ways:

    • In the Settings dialog, if you want to apply the same Recovery settings to all objects in your workspace

    • Via test configuration parameters for specific objects, such as individual TestCase folders

  2. Create Recovery Scenarios, i.e. define which TestSteps Tosca should perform in case of an error.

  3. Define CleanUp Scenarios that Tosca executes if the Recovery fails. This step is optional.