Versions Compared

Key

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

...

Gliffy Diagram
chromemin
size1200
displayNamecallsteps
namecallsteps
pagePin110


Info
titleModular tests limitations
  • Precondition issues will be ignored when tests are being called/included in other tests.
  • Modular test design only works with manual tests.
  • The call context dataset for called tests does not support multiple iterations.
  • There is a depth limit of 5 called tests: A → B → C → D → E
  • The total number of called tests allowed for a given Test Run is 200.

...

A new call test step will be created.

Image Removed Image Added


Parameterizing called tests

...

  1. Hover the call test step and click on the dataset icon located in the actions toolbar (to the right of the step). The dataset dialog will appear.
  2. If there are already parameters defined on the called test, then you can add these parameters using the "Add Parameter" button.
    Image RemovedImage Added
  3. Edit the parameter values accordingly
    Image RemovedImage Added
  4. Save the dataset

...

Once parameters are defined on the call test step dataset, they will appear on the step body when the step is expanded.

Image Added


It is possible to map a parameter from the parent test to the called test:

  • Whenever the value of a called parameter contains another variable reference (e.g., ${var1}), this variable is resolved using the context dataset of the Test Run.

Image Added

  • The call test parameter value must have exactly a parameter reference in the form ${var1}, and the parameter is present in the resolved dataset. Otherwise, the parameter value will not be resolved and the parameter will be displayed as ${var1} on the execution page.

Image AddedImage Removed

Importing steps with call tests

...

The import wizard dialog will prompt the user to map the call test and call test parameter columns when applicable.

Image RemovedImage Added 


Exporting steps to a CSV file

...

It is also possible to expand/unfold the call test steps when exporting test steps to CSV. To archive this, the option "Expand called test steps" must be checked when exporting to CSV.


Image RemovedImage Added

Execution

When executing tests composed of modular tests, Xray will unfold/expand all steps and replace the parameters with their resolved values.

On the step number column (located in the left of the step), an icon indicates that a step belongs to another test issue in case users need to navigate to the test.


Image RemovedImage Added

Parameter resolution

...