ERROR

System Testing Supervisor Script Language.

Purpose

The ERROR instruction indicates to the supervisor whether or not execution of a scenario should be interrupted if an error occurs.

Syntax

ERROR [ ON | OFF ]

Description

Use ERROR ON to interrupt execution of the supervision script if an error is detected.

Use ERROR OFF to ignore errors and continue execution of the supervision script.

In both cases, you will still receive an error message through the standard output.

The use of ERROR in supervision scripts is optional. ERROR ON is the default setting.

You may use ERROR ON and ERROR OFF several times in the same supervisor script.

Example

...

COPY localfile_1 target:file_1

ERROR OFF

DELETE localfile_1

ERROR ON

...

ERROR OFF

EXECUTE target:file_1

ERROR ON