EXIT

System Testing Test Script Language.

Syntax

EXIT

Description

This instruction lets you exit from the virtual tester. It causes all scenarios to terminate.

After an EXIT, the virtual tester terminates. For an EXIT instruction, the end of execution code of the virtual tester process is -1.

The scenario in which the EXIT instruction was executed is deemed incorrect.

Example

#int sock;

...

SCENARIO Main

SCENARIO Test1

...

IF (sock==-1) THEN

COMMENT stop tester

EXIT

END IF

...

END SCENARIO

SCENARIO Test2

...

CALL ...

...

END SCENARIO

END SCENARIO