Generators

Applies to TestComplete 15.62, last modified on March 19, 2024

Using TestComplete, you can generate test data and store it to TestComplete variables or Excel files. This approach can be very useful if you want to store test data in an external file, then retrieve this data using TestComplete and use it in your tests. In this case, you do not have to change your test’s commands every time you want to add new values to run the test with.

So, you can generate these values and specify the data type that will be used for them. Each data type contains a list of parameters that help you specify the values to be generated.

Note: Along with the standard generators mentioned below, TestComplete allows creating user-defined generators and adding these generators to the list of predefined generators. For more information, see Working With User-Defined Data Generators.

To obtain detailed information on each generator available in TestComplete, follow the links below:

Boolean

Contains detailed information on the Boolean data generator and describes parameters available for this generator.

City

Contains detailed information on the City data generator and describes parameters available for this generator.

Computer Address

Contains detailed information on the Computer Address data generator and describes parameters available for this generator.

Country

Contains detailed information on the Country data generator and describes parameters available for this generator.

Custom String

Contains detailed information on the Custom String data generator and describes parameters available for this generator.

Date and Time

Contains detailed information on the Date and Time data generator and describes parameters available for this generator.

E-mail

Contains detailed information on the E-mail data generator and describes parameters available for this generator.

GUID

Contains detailed information on the GUID data generator and describes parameters available for this generator.

Integer

Contains detailed information on the Integer data generator and describes parameters available for this generator.

Name

Contains detailed information on the Name data generator and describes parameters available for this generator.

Phone Number

Contains detailed information on the Phone Number data generator and describes parameters available for this generator.

Real

Contains detailed information on the Real data generator and describes parameters available for this generator.

Social Security Number

Contains detailed information on the Social Security Number data generator and describes parameters available for this generator.

State

Contains detailed information on the State data generator and describes parameters available for this generator.

Street Address

Contains detailed information on the Boolean data generator and describes parameters available for this generator.

String

Contains detailed information on the String data generator and describes parameters available for this generator.

United Kingdom Postcode

Contains detailed information on the United Kingdom Postcode data generator and describes parameters available for this generator.

United States ZIP Code

Contains detailed information on the Street Address data generator and describes parameters available for this generator.

Value from a Set

Contains detailed information on the Value from a Set data generator and describes parameters available for this generator.

For more information on generating typical values with the data generators mentioned above, see Tips on Generating Typical Values.

See Also

Using Data Generators
Data Generator Wizard
Tips on Generating Typical Values
Data-Driven Testing
Working With Databases
Working With Files From Scripts
Data-Driven Loop Operation

Highlight search results