Country (%COUNTRY) Macro

Applies to TestComplete 15.63, last modified on April 10, 2024

Description

The Country macro is used to insert country names into the string generated with the Custom String generator.

The macro is an analogue of the Country data generator.

Syntax

The macro has the following syntax:

%Country(*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 Country macro:

  • %COUNTRY

    Generates a country name.

  • %COUNTRY(*x2)

    Generates a country name and repeats it two times in a sequence of generated custom strings.

Remarks

See Also

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

Highlight search results