Add datatable

Definition

With datatable section, you can add parameters to a scenario and define several datasets.

Voila_Capture 2015-08-07_10-54-34_AM

To add a new parameter, add a new column with its name. Name of a parameter should not contain any special character or space.

Then, you can add as many datasets (line) as you want. It enables you to execute the same scenario but with different pools of data. One test is generated by dataset. Make sure that you assign a value to each cell of the datatable otherwise you will get an error.

Example

Given the scenario Sign in Workflow

test_scenario2

with the following datatable

test_datatable

two test instances are generated

test_jon

test_vincent

See Generate tests section for more information on the relationship between scenario, datatable and test.

Advertisements