Data Variation Item
Data Variation Item or variant refers to an attribute value or assert value that can be varied when executing test. Data Variation Items are always part of Data Variation. The value of a Data Variation Item is defined either in an the value of an attribute or in an Assert on attribute.
|There are two types of variants:
- Attribute value, where an attribute is assigned a value, or a microflow parameter is given a value;
- Assert, where the value of an attribute is checked. Asserts are recognizable by the "=" sign on the Data variation page.
|The name of the attribute.
|The value of the attribute or assert.
None. Note that not entering a value will be interpreted as 'Empty'.
Actions on Data Variation Item
View Data Variation Items in a Test Suite
Test Suite Datavariation is marked as .
View Data Variation Items in a Test Case
Test Case Datavariation is marked as .
Create a Data Variation Item
To add an attribute or an Assert on attribute as a Data Variation Item, there are two ways:
- When configuring a Teststep,
- click on next to the attribute or assert to add it to the Test Suite Data Variation or
- click on "" next to the attribute or assert to add it to the Test Case Data Variation.
Data Variation will be enabled and the respective attribute or assert will be added as a Data Variation Item;
- From the Data Variation page or popup, click on " Attribute" or " Assert" to add an Attribute Value or an Assert on attribute as a Data Variation Item.
If only one of the icons is shown, this means the choice to use data variation on either the Test Case or Test Suite level was already made.
Edit a Data Variation Item from the Test Suite page
- On the Test Suite page, select the Test Case that has either the or the "" icon next to it.
- For each attribute and assert shown in the Teststep details pane on the right, if it has this same icon next to it, it indicates that they are included as a Data Variation Item.
- Click on this icon to show the values per Data Variation.
Edit a Data Variation Item from the Data Variation page or popup
From the data variation page or popup, to edit a single attribute or assert in a Data Variation, simply click on the attribute or assert in the respective column.
Delete a Data Variation Item
- From the data variation page or popup, click on the respective attribute or assert name on the left.
- Click "Delete".
Missing anything? Let us know!
Last updated: 19 april 2023