Articles

[Collapse]TestComplete/viewarticle/63445/
 [Expand]General Information/viewarticle/63445/
 [Expand]Using Help System/viewarticle/55799/
 [Expand]Getting Started Tutorial/viewarticle/56246/
 [Expand]Using TestComplete/viewarticle/57875/
 [Collapse]Testing Types/viewarticle/62721/
  [Expand]Functional Testing/viewarticle/64013/
  [Expand]Unit Testing/viewarticle/57277/
  [Collapse]Data-Driven Testing/viewarticle/56219/
    Data-Driven Testing - Basic Concepts/viewarticle/56217/
    Preparing Data for the Data-Driven Testing/viewarticle/57866/
    Using Keyword Tests for Data-Driven Testing/viewarticle/56216/
    Using Scripts for Data-Driven Testing/viewarticle/58928/
    Using DDT Drivers/viewarticle/56908/
    Organizing Data Storages/viewarticle/56876/
    Using Excel Files as Data Storages/viewarticle/56928/
    Using CSV Files as Data Storages/viewarticle/58934/
    Using Database Table as Data Storages/viewarticle/58931/
    Data-Driven Testing - Retrieving Input Data From Storage/viewarticle/56930/
   [Collapse]Using Data Generators/viewarticle/55611/
     Data Generator Wizard/viewarticle/55780/
     Generate Data Dialog/viewarticle/55782/
    [Collapse]Generators/viewarticle/57853/
      Boolean Generator/viewarticle/57829/
      City Generator/viewarticle/57831/
      Computer Address Generator/viewarticle/57833/
      Country Generator/viewarticle/57835/
     [Expand]Custom String Generator/viewarticle/55746/
      Date and Time Generator/viewarticle/57837/
      E-mail Generator/viewarticle/57839/
      GUID Generator/viewarticle/57841/
      Integer Generator/viewarticle/57846/
      Name Generator/viewarticle/57843/
      Phone Number Generator/viewarticle/57856/
      Real Generator/viewarticle/57858/
      Social Security Number Generator/viewarticle/57859/
      State Generator/viewarticle/57860/
      Street Address Generator/viewarticle/57861/
      String Generator/viewarticle/57862/
      United Kingdom Postcode Generator/viewarticle/57857/
      United States ZIP Code Generator/viewarticle/57826/
      Value From a Set Generator/viewarticle/57863/
     Working With User-Defined Data Generators/viewarticle/55778/
     Tips on Generating Typical Values/viewarticle/57867/
  [Expand]Regression Testing/viewarticle/57279/
  [Expand]Distributed Testing/viewarticle/55046/
  [Expand]Parallel Testing/viewarticle/62722/
  [Expand]Coverage Testing/viewarticle/55234/
  [Expand]Object-Driven Testing/viewarticle/55144/
  [Expand]Manual Testing/viewarticle/55004/
   Load Testing/viewarticle/62753/
 [Expand]Applications Testing/viewarticle/62606/
 [Expand]Working With Application Objects and Controls/viewarticle/55815/
 [Expand]Samples and Tutorials/viewarticle/56239/
 [Expand]References/viewarticle/57878/
 [Expand]Other Tools That Help You Test Better/viewarticle/63442/
 [Expand]TestComplete 10 Licensing Guide/viewarticle/63451/
Updated: 7/16/2014 Applies To: TestComplete 10 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent
Generators

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.

Parameters

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

Country

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


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