Skip to main content
Version: 2.9

Data Variation Item

Definition

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 the value of an attribute or in an Assert.

info

It is not possible to import a CSV or Excel file into the datavariation, for multiple reasons.


There are multiple operators possible on a single value, other than "Equals", like "Contains", "Greater than", "Range", etc. These are not part of a list of values in CSV or Excel.
MTA performs an input validation according to the data type of the corresponding attribute, while entering the value. This cannot be done in a bulk import action.
Values shown in data variation are only part of the full set of values used during a test run, since the rest of the values are fixed per-run, so importing would most likely result in a lot of duplication.

Properties

NameDescription
TypeThere 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.
Attribute nameThe name of the attribute.
ValueThe value of the attribute or assert.

Business rules

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 .

Open the Test Suite Data Variation page.

View Data Variation Items in a Test Case

Test Case Datavariation is marked as .

Open the Test Case Data Variation page.

Create a Data Variation Item

To add an attribute or an Assert on attribute as a Data Variation Item, there are two ways:

  1. 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;
  2. 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".

Feedback?

Missing anything? Let us know!

Last updated: 21 October 2023