Creating Test Case Parameters

Applies to Zephyr Scale Server/Data Center 9.1, last modified on September 26, 2023

Begin with either a new or existing test case.

  1. Click the Test Script tab.

  2. Ensure the Type is Step-by-Step.

  3. Click the dropdown, then click Parameters.

    The test case parameters dropdowns

    Click the image to enlarge it.

    The Parameters section appears.

  4. Click Add Parameter and type the parameter’s name.
    The Default Value field is optional.

    The 'Parameters' section

    Click the image to enlarge it.

  5. In the Steps section, type a brace, sometimes called a curly bracket, to display the list of parameters you’ve created.

    Thee test case parameters' entry

    Click the image to enlarge it.

  6. Reference the desired parameter for the step by selecting it from the dropdown list.
    Each step unfolds during the test execution, and the parameters are replaced with the values from the main test case.

Tip: You can drag and drop parameters in the Parameters section (on the Test Script tab) to adjust the order in which they appear.

See Also

Calling a Test Case with Parameters

Highlight search results