Associating a test with a DataTable

How to associate a test with a DataTable

In order to run a test with different DataTable scenarios, you need to first associate the DataTable with the test. DataTables can be associated with new tests and existing tests.

New tests

To associate a new test with an existing DataTable, follow these steps:

  1. Create a new test.
  2. In the test creation form, toggle on "Show advanced options."
  3. In the DataTables section, choose one or more DataTables from the list of existing DataTables.


Train with DataTable

We recommend making sure the "Train with DataTable" toggle is on so that you can instantly use one of the above DataTables to train. For more information on training with DataTables, click here.

  1. Click on the Create test button.

Associating a new test with a DataTable

The new test will be associated with the DataTable(s) when you save it.

Existing tests

To associate an existing test with an existing DataTable, follow these steps:

  1. Navigate to the test you wish to associate with a DataTable
  2. Click on the pencil icon to edit test information.
  3. In the Update Test Information modal, select a DataTable for the test in the DataTables dropdown.
  4. Click Save to confirm your changes.

Associating an existing test with a DataTable


Generating a DataTable

When you generate a DataTable from test data-driven variables, the DataTable is automatically associated with the test.