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

ExitComponent Statement

Description

Exits the current component run.

The pass or fail status of the component remains as it was in the step prior to the ExitComponent statement.

Syntax

ExitComponent[(RetVal)]

Argument

Type

Description

RetVal

Variant

Optional. The component's return value. The return value is displayed in the run results.

Tip: To return a value for use in other components in the business process test, use an output parameter.

 

See also: