Country (%COUNTRY) Macro

Applies to ReadyAPI 3.9, last modified on July 16, 2021

The Country macro is used to insert country names into the strings generated by a data source using the Custom String data generator.

The macro is an analogue of the Country data generator.

Syntax

The macro has the following syntax:

%COUNTRY

Parameters

The macro does not have any parameters.

Examples

The following example demonstrates how to use the Country macro:

Country: %COUNTRY

Example: Country macro in Data Generator

Click the image to enlarge it.

Generates a string containing a country name.

Remarks

For more information on adding macros to custom strings, see About Custom String Generator.

For more information on general rules used for specifying macro parameters, see Custom String Generator Rules.

See Also

Country Generator
Custom String Generator
Macro Reference

Highlight search results