DomainFunctions Function Type

DomainFunctions Function Type


Domain Functions design email addresses with specific domains. They create email addresses that align with a particular organization or domain name, ensuring that the generated emails are correctly formatted for that domain.


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 DomainFunctions 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 DomainFunctions from the Function Type dropdown list. select domainfunctions function type from data generators
NOTE:

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


Email with Domain

  • Allows you to generate an email address with a specified domain, ensuring the email format adheres to your inputs.
  • It is useful when you create realistic email addresses with domains for testing or in any scenario that requires domain-specific email addresses.
ℹ️Examples:
Inputs Outputs
domain: example.com john.doe@example.com
domain: mycompany.org jane.smith@mycompany.org
domain: school.edu robert.brown@school.edu
domain: organization.net emily.jones@organization.net