[Expand]General Information/viewarticle/88628/
 [Expand]Using Help System/viewarticle/81465/
 [Expand]Getting Started Tutorial/viewarticle/82003/
 [Expand]Using TestComplete/viewarticle/84431/
 [Collapse]Testing Types/viewarticle/85355/
  [Expand]Functional Testing/viewarticle/87605/
  [Expand]Unit Testing/viewarticle/81401/
  [Collapse]Data-Driven Testing/viewarticle/81956/
    Data-Driven Testing - Basic Concepts/viewarticle/81955/
    Preparing Data for the Data-Driven Testing/viewarticle/89249/
    Using Keyword Tests for Data-Driven Testing/viewarticle/81953/
    Using Scripts for Data-Driven Testing/viewarticle/83488/
    Using DDT Drivers/viewarticle/80480/
    Organizing Data Storages/viewarticle/82710/
    Using Excel Files as Data Storages/viewarticle/84399/
    Using CSV Files as Data Storages/viewarticle/85265/
    Using Database Table as Data Storages/viewarticle/85444/
    Data-Driven Testing - Retrieving Input Data From Storage/viewarticle/84443/
   [Collapse]Using Data Generators/viewarticle/81179/
     Data Generator Wizard/viewarticle/81315/
     Generate Data Dialog/viewarticle/81311/
      Boolean Generator/viewarticle/85212/
      City Generator/viewarticle/85404/
      Computer Address Generator/viewarticle/83833/
      Country Generator/viewarticle/88584/
     [Expand]Custom String Generator/viewarticle/81271/
      Date and Time Generator/viewarticle/87976/
      E-mail Generator/viewarticle/82655/
      GUID Generator/viewarticle/84908/
      Integer Generator/viewarticle/87503/
      Name Generator/viewarticle/85036/
      Phone Number Generator/viewarticle/84190/
      Real Generator/viewarticle/86870/
      Social Security Number Generator/viewarticle/87439/
      State Generator/viewarticle/88721/
      Street Address Generator/viewarticle/87841/
      String Generator/viewarticle/84050/
      United Kingdom Postcode Generator/viewarticle/88224/
      United States ZIP Code Generator/viewarticle/85481/
      Value From a Set Generator/viewarticle/88769/
     Working With User-Defined Data Generators/viewarticle/81313/
     Tips on Generating Typical Values/viewarticle/84983/
   Regression Testing/viewarticle/85780/
  [Expand]Distributed Testing/viewarticle/80602/
   Parallel Testing/viewarticle/83767/
  [Expand]Manual Testing/viewarticle/85389/
   Coverage Testing/viewarticle/80794/
  [Expand]Object-Driven Testing (deprecated)/viewarticle/84441/
   Load Testing/viewarticle/84076/
 [Expand]Applications Testing/viewarticle/83383/
 [Expand]Working With Application Objects and Controls/viewarticle/81481/
 [Expand]Samples and Tutorials/viewarticle/81997/
 [Expand]Other Tools That Help You Test Better/viewarticle/82893/
 [Expand]TestComplete Licensing Guide/viewarticle/88365/
Updated: 10/12/2016 Applies To: TestComplete 12 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent

Social Security Number Generator

The Social Security Number generator is used to generate social security numbers with TestComplete. Using this generator type you can populate the desired Excel file or TestComplete Table variable with social security numbers and then use this data in your tests. For more information on preparing test data, see Preparing Data for Data-Driven Testing.

To activate the Social Security Number generator, do any of the following:

  • Switch to the Data Generation Options page of the Data Generator wizard, select Social Security Number in the corresponding Data Generator cell. After that, click within the Parameters cell to activate the in-place editor and press the Edit button.

  • Open the Generate Data dialog and select Social Security Number from the Data Generator list.

  • Activate any user-defined generator based on the Social Security Number standard generator as it is described above.


After you have selected the Social Security Number generator, you are offered to specify some additional parameters for the generated data. The parameters are:


Specifies the name of the country for which social security numbers will be generated. Currently, there is only one country that can be specified as the value of this parameter: United States (the default value of the parameter). You cannot change the value of this parameter.

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 Data Generator Wizard.

See also
Data Generator Wizard | Data-Driven Testing | Preparing Data for Data-Driven Testing

© 2016 SmartBear Software. All rights reserved.
Email Send feedback on this document