Skip to main content

Data Variation

This document is based on MTA version 1.8.

Definition

Data Variation is used to execute the same Test Suite multiple times upon Test Configuration execution, but each time with different values for variant items, such as Attribute Values or input and output parameters. These variant items need to be explicitly included in the Data Variation to be able to vary them per Test Run. For each data variation of a Test Suite, a Test Run will be created.

Data Variation consists of Data Variation Items or variants.

Properties

NameDescription
NumberThe rank of the Data Variation in the execution order of the Test Suite.

Business rules

None. Note that it is possible to have a data variation that does not consist of data variation items. This happens when all data variation items are deleted. The result is that the Test Suite will simply be ran multiple times but with the exact same data.

Actions on Data Variation

Enable Data Variation

There are two ways to enable Data Variation on a Test Suite:

  1. Click on on top of the right pane in the Test Suite page. The data variation page will open and the icon color will turn dark, meaning Data Variation is enabled.
  2. When configuring a Teststep, click on next to the attribute or assert to add it to the Data Variation. Data Variation will be enabled and the respective attribute or assert will be added as a Data Variation Item.

Disable Data Variation

To completely remove all Data Variation Items and also remove all Data Variations:

  • Click on on top of the right pane in the Test Suite page.
  • Click on on top of the list of Data Variation Items.

Add a Data Variation

  • Click on on top of the right pane in the Test Suite page. The data variation page will open.
  • Click on the column of the Data Variation you want to create a copy from, for instance the column labeled # 1.
  • Click "Copy".

Delete a Data Variation

  • Click on on top of the right pane in the Test Suite page. The data variation page will open.
  • Click on the column of the Data Variation you want to delete, for instance the column labeled # 2.
  • Click .

Note that you cannot delete the first column labeled # 1.

Edit a Data Variation

See Edit a Data Variation Item.

Feedback?

Missing anything? Let us know!

Last updated 20 september 2022