City (%CITY) Macro

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

Description

The City macro is used to insert city names into strings generated with the Custom String generator.

The macro is an analog of the City data generator.

Syntax

The macro has the following syntax:

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

  • %CITY

    Generates a city name.

  • %CITY(*x3)

    Generates a country name and repeats it three times in series of generated custom strings.

Remarks

See Also

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

Highlight search results