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:

  1. Documentation on creating test plans.
  2. Documentation on creating test suites.
  3. Documentation on creating test machine.

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

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


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.
ℹ️Examples:
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