Settings - Exception Handling

The following settings can be found at Settings->Engine->Exception Handling:

Tosca Executor is used for test execution. You can also use the settings described below to define exception handling settings which are usually specified via the Tosca Executor interface upon test execution.

In case of error

Description

This setting defines whether an error dialog window is shown in case of an error.

Possible values:

  • Show error window: an error dialog is shown.

  • Show no window: no error dialog is shown. Test results can be viewed in the Loginfo.

Example

Show error Window

In case of halt

Description

This setting is applied if the option Required manual input is specified in Tosca Executor for error cases.

Possible values:

  • ShowExceptionWindow: the exception dialog appears. Users can decide here whether the test execution should be aborted or continued.

  • ShowManualExecutionWindow: the Manual Engine opens.

Example

ShowManualExecutionWindow

On script command failure

Description

Specifies how Tosca Executor should react if a dialog error occurs. A dialog error is for instance a control, which cannot be found.

Possible values:

  • Halt: the test execution is interrupted and an error description will be displayed in the corresponding ExecutionLog. You can either manually abort the test execution (abort), or continue with the next TestStep (resume).

  • Ignore: The error is ignored and the test execution will be continued. After the test execution has finished, an error description will be displayed in the corresponding ExecutionLog.

  • Recover: In case of an error, recovery will be started (see chapter "BASE I Recovery").

Example

Halt

On verification failure

Description

Specifies how Tosca Executor should react when content verification errors have occurred.

Possible values:

  • Halt: the test execution is interrupted and an error description will be displayed in the corresponding ExecutionLog. You can either manually abort the test execution (abort), or continue with the next TestStep (resume).

  • Ignore: The error is ignored and the test execution will be continued. After the test execution has finished, an error description will be displayed in the corresponding ExecutionLog.

  • Recover: In case of an error, recovery will be started (see chapter "BASE I Recovery").

This setting takes precedence over the setting for verification failure in Settings->TBox->Recovery.

Example

Ignore

The following settings are required if the value Recovery has been specified for the settings On verification failure or On script command failure (see tables above).

Retry ParamAction

Description

Specifies how often an erroneous ParamAction should be executed subsequent to a successful recovery.

Example

1

Retry TestAction

Description

Specifies how often an erroneous TestAction should be executed subsequent to a successful recovery.

Example

1

Retry TestCase

Description

Specifies how often an erroneous TestCase should be executed subsequent to a successful recovery.

Example

0