Assigning scenario names to your DataTables

You can use the first column of a new or existing DataTable, designated as "Scenario Name" in the table, to easily differentiate each run of a test from that table from the rest.

Defining scenario names

In the mabl app

Scenario Names are configured via the DataTable configuration page.

Go to the "Configuration" page and select the "DataTables" tab. Then, select the table you wish to add scenario names to.

Look for the "Scenario Name" column, which appears in every DataTable. Edit the table to define the scenario names as you see fit. Future runs against that table will display the assigned scenario name, shown in the section below.

From a CSV

DataTables can be created by importing a CSV. As long as a column has a header called "Scenario Name," that column will be imported into the Scenario Names column in the editor and used in the same way.

Viewing scenario names

When you run a test that has an associated DataTable, scenario names will be displayed on the main dashboard, the plan details page, as well as the test results page. See the examples below for their exact locations.

Dashboard

On the main dashboard page, you can find the scenario names by opening a plan that runs a test from a DataTable. Click on the scenario name to view the variables used in that run.

Scenario name location on the main dashboard page.

Scenario name location on the main dashboard page.

Plan details

You can find the scenario names in the same way as on the main dashboard, simply by expanding the details of a previous run of the plan in the "History" section shown below.

Scenario name location on the plan details page.

Scenario name location on the plan details page.

Test results

When viewing the results of a test run that used a DataTable, you can view which scenario that test ran by clicking to see the variables for that test run as shown below.

Scenario name location on the test output page.

Scenario name location on the test output page.

Updated 2 years ago


Assigning scenario names to your DataTables


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.