GUID (%GUID) Macro

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

Description

The macro is used to insert GUIDs into strings generated with the Custom String generator.

The macro is an analog of the GUID data generator.

Syntax

The macro has the following syntax:

%GUID(*xN)

Parameters

*xN

Optional parameter. Specifies the number of possible repetitions of each value in series of generated strings. N is a positive number that specifies the number of repetitions: 1, 2, 3, and so on. The default parameter value is *x1 (no repetitions).

Examples

The following examples demonstrate how to use the GUID macro:

  • %GUID

    Generates GUID values.

  • %GUID(*x3)

    Generates GUIDs and repeats each GUID three times in the series of generated custom strings.

Remarks

See Also

Macro Reference
Custom String Generator Rules
Custom String Generator
GUID Generator
Using Data Generators
Generate Data Dialog

Highlight search results