Object Model Reference for GUI Testing > Utility Objects > Utility Statements > ExitAction Statement

ExitAction Statement

Description

Exits the current action, regardless of its local (action) iteration attributes. The pass or fail status of the action remains as it was in the step prior to the ExitAction statement.

Note: The ExitAction statement and its return value are displayed in the Run Results.

Syntax

ExitAction[(RetVal)]

Argument

Type

Description

RetVal

Variant

Optional. The action's return value. The value can be a string or number, but it must be a constant value. It cannot be the name of a variable. The value is returned to the statement that called the action.

 

See also: