IdNumber Function Type

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 utilising the different data generator functions, it's essential to understand basic concepts such as creating Test Cases and Test Steps and adding data generators in test steps.


Selecting IdNumber as a Function Type for Data Generator

  1. Use NLP to create a new step in the test case and include a placeholder for test data.
  2. Click on the test data placeholder. From the Test Data Types dropdown menu, select the ! Data Generator option.
  3. On the ! Data Generators overlay screen, select the Type to Default. This will enable you to use a collection of built-in test data generators.
  4. Select IdNumber from the Function Type dropdown list. select datefunctions function type from data generators
NOTE:

This action will display a list of built-in functions associated with the IdNumber function type, enabling you to select the appropriate function based on your requirements.


Valid

  • 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

Invalid

  • 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

SSN Valid

  • 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

Valid SvSe SSN

  • 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

Invalid SvSe SSN

  • 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