Test Data
Random String Function Type
NameFunctions Function Type in data generators helps you create usernames. It provides unique and random data, offering a wide variety of name-related information for your applications.
Prerequisites
Before you proceed, ensure that you have referred to:
Selecting NameFunctions as a Function Type for Data Generator
Section titled “Selecting NameFunctions as a Function Type for Data Generator”-
From the left navigation bar, go to Create Tests > Test Cases and create a new test case.

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

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

-
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.

-
Select NameFunctions from the Function Type dropdown list.

Random String from Given Characters with Length
Section titled “Random String from Given Characters with Length”- Allows you to generate a random string of a specified length using a given set of characters.
- It helps create unique and secure identifiers, passwords, or verification codes, ensuring that all data remains random and unique.
| Inputs | Outputs |
|---|---|
| String Length: 5 List: ['A', 'B', 'C', 'D', 'E', '1', '2', '3'] |
B3C1A |
| String Length: 8 List: ['X', 'Y', 'Z', '1', '2', '3', '4', '5'] |
X2Y5Z341 |
| String Length: 4 List: ['a', 'b', 'c', '1', '2', '3', '!', '@'] |
a2@c |
| Input String Length: 6 List: ['0', '1', '2', 'A', 'B', 'C', '!', '#'] |
C1#A20 |