Label Operation

Applies to TestComplete 14.70, last modified on April 22, 2021

Description

The Label operation marks a specific point in the keyword test. You can change the test execution flow by “jumping” to this point from any other place with the Go to Label operation:

An example of the Label operation

Click the image to enlarge it.

Operation Result

The operation does not return any value.

Scripting Analogue

Using the Label and Go to Label operations in your test is similar to marking a source line and jumping to it with the goto statement in applications written in Visual Basic and other programming languages.

Child Operations

The operation cannot have child operations.

Operation Parameters

The operation has one parameter that specifies the name of the label. This name can be an arbitrary string.

See Also

Statements Category
Go to Label Operation

Highlight search results