Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameters are defined within datasets. However, it is possible to reference a parameter that is not yet defined (meaning it does not have a corresponding name within the dataset). In this case, the parameter will be highlighted in red (Figure 1 - 1).

Info

Currently, the Test parameterization feature is only available for Manual Tests. Xray will support defining parameters and use datasets on BDD and Generic Test types as well.

Defining a Parameterized Test

...

UI Steps
UI Step

Navigate to the desired Test plan or Test execution Issue (Figure 26).

UI Step

A menu action is provided on each Test row (Figure 26 - 2). A column named Dataset (Figure 26 - 1) is also available by configuring the column layout for the Test Plan or Test Execution datatable. If there is a dataset already defined at this level, the Dataset button (Figure 26 - 1) will be displayed with a selected style.

Figure 26 - ExecutionImage RemovedFigure 26 - ExecutionImage Added

Figure 26 - Execution

UI Step

Click the Dataset button (Figure 26 - 1) or click the Actions button (Figure 26 - 2) and then select Dataset (Figure 26 - 3). The Dataset modal will open (Figure 27).

UI Step

In the Dataset modal (Figure 27), if there is a dataset defined on a parent level, you can override the parent dataset and modify its values by clicking Override (Figure 27 - 1). Otherwise, you can start defining a new dataset at this level (Figure 27 - 2).

Figure 27 - Override

Figure 27 - Override

UI Step

Once the dataset is defined (or overridden), click Save (Figure 27 - 3).

...