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 you begin, ensure that you have referred to:

  1. Documentation on creating test cases.
  2. Documentation on creating test steps.
  3. Documentation on adding data generators in test steps.

Selecting DomainFunctions 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 screen, select the Type to Default. This will enable you to use a collection of built-in test data generators. Default
  5. Select DomainFunctions from the Function Type dropdown list. DomainFunctions
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