Skip to content

Dynamic Parameters

Use dynamic parameters to run the same test with different values. Add a parameter table to the test and use its headers in your test steps. Each row in the table becomes a separate test iteration. For example, one test can use several usernames:

UsernamePassword
user1pass1
user2pass2
user3pass3

The test runs three times, using the values from each row.

One test step written with a placeholder runs once for each row of the parameter table

Three pieces work together:

  • A parameter table stores the values.
  • A parameter header names each value.
  • A placeholder in a test step tells Testomat.io where to use the value.
  1. Open Tests and select the test.
  2. Click the Extra button.
  3. Select Add Parameter.
  4. Enter the name of the parameter.
  5. Add a Parameter header for each value you need. You can also click Add column.
  6. Click Save.
  7. Enter the values for each row.
  8. Click Save.

The saved parameter table at the bottom of the modal

The parameter table appears in the test, with one row per set of test data.

You can edit parameters from the test description or from the parameter menu.

  1. Click Edit next to the parameter.
  2. Change the parameter name.
  3. Click Save.
  4. Click Edit Header.
  5. Change the header name.
  6. Click Save.

Edit parameters icons in the test description

  1. Click the Extra button.
  2. Select Add Parameter.
  3. Edit the parameter name or header name.
  4. Click Save.
  1. Click the Trash icon next to the parameter.
  2. Click OK to confirm.

You can also delete a parameter from the parameter menu: open Add Parameter and click the Trash icon.

After adding the parameter table, connect its headers to your test steps with a placeholder.

  1. Check the exact Parameter header name.
  2. Open the test and click Edit.
  3. Add the header name to a placeholder using either ${} or {{}}.
  4. Click Save.

For example:

Enter an invalid Mobile Number ${Mobile No}
Open home page {{URL}}.

When the test runs, Testomat.io replaces each placeholder with the value from the current row.

Both placeholder formats work in steps and descriptions. In test titles, use ${}.

Where${ParameterName}{{ParameterName}}
Test titleWorksNot supported
Steps and descriptionWorksWorks

Using ${} everywhere keeps the syntax consistent.