Configure Tosca Commander for error handling (2024)

How you want Tosca Commander to handle errors depends on your ExecutionList. For instance, if you execute a single TestCase with a short run-time, you might prefer an immediate abort.

During the execution of complex and time-consuming ExecutionLists, however, you might want to avoid an abort at an early stage. In this case, you can implement error handling procedures that allow the execution to continue.

Specify error handling procedures

You can define how Tricentis Tosca should handle the following errors:

  • 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

For each of these errors, the following procedures are available:

Option

Description

Continue

Continue the execution of the next TestStepValue or TestStep even if the preceding TestStepValue or TestStep has failed.

Execute next TestCase

Do not continue with this TestCase if a TestStepValue or TestStep fails. Instead, start the execution of the next TestCase.

Recover

Enables Engines 3.0 Recovery. For information on how to work with Engines 3.0 Recovery, see chapter "Work with Engines 3.0 Recovery".

You can define these error handling procedures in one of two ways:

  • If you want to apply different procedures to different objects, create test configuration parameters. The name of the parameter is the same as that of the corresponding setting, but without spaces.

Configure Tosca Commander for error handling (1)

Error handling parameters for Sample TestCase folder

Tricentis Tosca applies the specified procedures regardless of the cause of an error.

Configure Tosca Commander for error handling (2024)
Top Articles
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 6265

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.