Skip to main content
Version: 2.10

Datavariations

Definition

Datavariations are used to execute the same test multiple times, but each time with different values for Attributes and Asserts.

Datavariations can be defined on the Test Suite or Test Case level.

To change the value of an Attribute or Assert per Test Run, it needs to be explicitly included in the Datavariations. It is possible to combine Test Suite level and Test Case level Datavariations in the same Test Suite.

note

On the Test Case level, a choice has to be made between the Test Suite / Test Case Datavariations when varying on an Attribute or Assert. Once the choice is made, it can only be undone by excluding the varied Attributes and Asserts.

An included Attribute or Assert is referred to in the MTA Documentation as a Datavariation Item Row.

For each Datavariation Column, a Test Suite Run or Test Case Run will be created. If there is a Test Case with Test Case datavariation and another Test Case with Test Suite datavariation in the same Test Suite, this will have a multiplier-effect.

It is also possible to execute one single Datavariation Column.

Business rules

It is not allowed to delete a Datavariation Column if there is only one.

It is allowed to delete all Datavariation Item Rows. Executing the Test Case or Test Suite will then only run once.

Actions on Datavariations

Everywhere throughout the Test Configuration or Test Run, click the to navigate to the Test Suite Datavariations.

Everywhere throughout the Test Suite or Test Suite Run, click the to navigate to the Test Case Datavariations.

Migrate Test Suite Data Variation to Test Case Data Variation

  • Click on on the top right of the Data Variaton page.
  • Click on " Move to test case data variation".
  • Select the Test Case that you want to migrate from Test Suite Data Variation to Test Case Data Variation.

Migrate Test Case Data Variation to Test Suite Data Variation

  • Click on on the top right of the Data Variaton popup.
  • Click on " Move to test suite data variation".
  • Confirm.

Remove all Test Suite Data Variation

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

  • Click on on the top right of the Data Variaton page.
  • Click on " Disable test suite data variations".

Note: if you already deleted all Datavariation Item Rows, you will not get a confirmation message.

Remove all Test Case Data Variation

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

  • Click on on the top right of the Data Variaton popup.
  • Click on " Disable test case data variations".

Note: if you already deleted all Datavariation Item Rows, you will not get a confirmation message.

The page will close.

Execute a Variation

  • Open the Test Suite data variation page or Test Case data variation popup.
  • Click on the column you want to delete, for instance the column labeled # 2.
  • Click on " Execute variation".
  • Choose "Coverage" to create a new Coverage Calculation after the Test Run was executed.
  • Choose "Full output" to include all data values in the Test Run results. Not enabling "Full output" will finish the Test Run sooner, but will only include data values for teststeps that are used in other teststeps in the Test Run results.
  • Choose a Test Setting (the preferred Test Setting is pre-selected).

Feedback?

Missing anything? Let us know!

Last updated: 9 April 2025