The State generator is used to generate state names with LoadComplete. Using this generator type you can populate a list variable with various state names and then use this data in your tests.
To activate the State generator, do the following:
After you have selected the State generator, you are offered to specify some additional parameters for the generated data. The parameters are:
Specifies the name of the country whose states' names will be generated. Currently, only one value is available: United States (the default value of the parameter).
State name format
Specifies the format of the state names to be generated. The available values are: Full and Abbreviated. The default value of the parameter is Full.
Duplicate each value … time(s)
Specifies how many times each generated value will be duplicated. The default value of the parameter is False.
After you specify the needed parameters, you can obtain the sample values that have been generated by the engine. The values are displayed in the Sample field.
Also, you can discard all the changes you made in the generator’s parameters and restore the parameters set by default. For this purpose, click Set Default Values below the Sample field.
If you are going to use the same settings in several variables or if you configure one generator in the same manner from time to time, it is much easier to save the selected generator with the specified parameter values as a user-defined generator. For this purpose, click the Save to User-Defined button below the Sample field.
For more information on generating test data, see Using Data Generators.