Working With Data Driven Testing (DDT)

Applies to Zephyr Scale Server/Data Center 9.1, last modified on November 30, 2023
  1. Create a test case and enable the test data functionality in the Test Script tab.

    Test data functionality activation

    Click the image to enlarge it.

  2. Add columns (variables) to the test-data table.
    In the steps, you can reference a column (variable) by typing a { brace (curly bracket), which triggers a drop-down list with column options. When the test case is ready to be executed in the Test Player, the test steps are repeated to ensure complete coverage.

    Test steps

    Click the image to enlarge it.

On the Test Player screen, you’ll notice all steps are unfolded in a flat step list. Also, each step will be unfolded during the test execution with the parameter replaced with the values passed by the main test case. Bear in mind, each row in the test data table will create a new group of steps during the unfolding procedure as shown in the image below.

Set of steps

Click the image to enlarge it.

See Also

Data-Driven Testing (DDT) - Overview

Highlight search results