Data Generator in Testsigma


You can generate test data within Testsigma using the built-in functions. Let’s see how.


Consider an example test case where you need to fill a form. The form contains:

  1. Username: Needs to input a unique username.
  2. Email ID: Needs to input an alphanumeric set of input.
  3. Unique ID: Random Non Zero.
  4. Full Name: A name with first and second name.
  5. First Name: Valid first name which looks realistic.
  6. Last Name: A last name which looks realistic, like, Clinton.

Here, using a traditional automation testing framework, you will either have to hardcode all the data or create functions that will output valid test data like an alphanumeric username.

In Testsigma, These data generator functions are built-in. You can also Create your own Custom Data Generator.

Check the GIFs below to understand how to use both default and custom Data Generators.

Data Generation in Test Steps

Data Generation in Test Steps