Exception Pin

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

If the execution of a step fails, the exception pin receives detailed information about the exception. This can be passed, evaluated or used for exception handling and reporting. Ususally the value is used to trigger or cancel other activities by their cancel or enable input pins. Please note that if the "Ignore Exceptions" option is set for a step, the enable output pin is triggered, and the exception output pin is NOT. An unhandled exception will be hierarchically passed up to the network which invoked the action, and can be handled there by its exception pin. If an unhandled exception reaches the testcase level, the whole testcase is considered to be defect and terminated.

Example 1: Depending on the success or failure of Step1, either Step2 or Step3 is executed.

Exception handling example 1

Example 2: Both are started in parallel (due to the autostart flag). If the execution of the first step fails, the second will be cancelled via its cancel pin.

Exception handling example 2



Back to the Pin Documentation: Pin
Back to the full online documentation: Online Documentation

Meine Werkzeuge