Skip to content
Testsigma DOCS

Test Data

IdNumber Function Type


You can generate and manage various file-related data. This functionality is useful for handling files with specific attributes like file extensions, MIME types, and file names. Creating diverse file data for different applications can make file-handling tasks more efficient and organized.


Prerequisites

Before you begin, ensure that you have referred to:


Selecting IdNumber as a Function Type for Data Generator

Section titled “Selecting IdNumber as a Function Type for Data Generator”
  1. From the left navigation bar, go to Create Tests > Test Cases and create a new test case. Test Cases

  2. Use NLP to create a new step in the test case and include a placeholder for test data. NLP

  3. Click on the test data placeholder. From the Test Data Types dropdown menu, select the ! Data Generator option. Data Generator

  4. On the ! Data Generators overlay, select the Type to Default. This will enable you to use a collection of built-in test data generators. Default

  5. Select IdNumber from the Function Type dropdown list. IdNumber


  • Enables you to generate a valid identification number that adheres to specified formats and validation rules.
ℹ️Example:
  • Input: None (This function does not require any specific input)
  • Output:
    • 871-85-7385
    • 647-84-1801
    • 493-16-0542
    • 616-25-4680

  • Allows you to generate an invalid identification number that does not conform to standard formats or validation rules.
ℹ️Example:
  • Input: None (This function does not require any specific input)
  • Output:
    • 967-54-6956
    • 889-04-0000
    • 666-80-8283
    • 210-98-7654

  • Enables you to generate a valid SSN format that meets the criteria for a valid social security number.
ℹ️Example:
  • Input: None (This function does not require any specific input)
  • Output:
    • 123-45-6789
    • 456-78-9012
    • 789-01-2345
    • 567-89-0123

  • Allows you to generate a valid Swedish SSN according to specific validation rules for Sweden.
ℹ️Example:
  • Input: None (This function does not require any specific input)
  • Output:
    • 198501012389
    • 197312310123
    • 199011301234
    • 200102281234

  • Enables you to generate an invalid Swedish SSN that does not conform to valid formats or rules.
ℹ️Example:
  • Input: None (This function does not require any specific input)
  • Output:
    • 198501013477
    • 200102281235
    • 199012301234
    • 197312310001