Versions Compared

Key

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

...

The following screenshots shows an example of the sections you should expect in this report.

Image RemovedImage RemovedImage RemovedImage RemovedImage AddedImage AddedImage AddedImage Added



How to use

This report can be generated from the Issue details screen, from the Issue Search/navigator page, from the Test Repository, or from the Test Plan board.

...

  1. open the Issue Search/navigator (go to Issues > Search for issues)
  2. search by component "Account", or by other criteria based on the Test issue's fields
    1.  Image RemovedImage Added
  3. Select the Document Generator" action and export it using this template
    1. Image RemovedImage Added

Export the test specification for all Tests contained in a Test Repository folder (excluding sub-folders)

  1. select a folder in the Test Repository
  2. Select the "Document Generator" action and export it using this template
    1. Image RemovedImage Added

Export the test specification for all Tests contained in a Test Repository folder (including sub-folders)

  1. select a folder in the Test Repository
  2. Select the "View Issues" action; you'll be redirected to the Issue Search/Navigator
    1. Image RemovedImage Added
  3. On the Issue Search/Navigator, select the "Document Generator" action and export it using this template
    1. Image RemovedImage Added

Export the test specification for all Tests contained in a Test Plan folder (excluding sub-folders)

  1. select a folder in the Test Plan
  2. Select the "Document Generator" action and export it using this template
    1. Image RemovedImage Added

Export the test specification for all Tests contained in a Test Plan or in one of its folders (including sub-folders)

  1. select a folder in the Test Plan
  2. Select the "View Issues" action; you'll be redirected to the Issue Search/Navigator
    1. Image RemovedImage Added
  3. On the Issue Search/Navigator, select the "Document Generator" action and export it using this template
    1. Image RemovedImage Added


Understanding the report

...

The output will have the following information.

Image RemovedImage Added

Requirements covered by these Tests

...

The requirements are listed in a table as follows.

Image RemovedImage Added

Tests

This section will gather all the information related to each Test, focused on its specification.

...

The description of the Test (${wiki:Description}).


Image RemovedImage Added

Test Issue Attachments

...

This appears in the document in a table form. A thumbnail is shown for images.

Image RemovedImage Added

Status of the last execution

This section shows the last execution status for the Test.


Image RemovedImage Added


Requirements

In this section we have an overview of all the requirements that are covered by the Test.

...

The requirements are listed in a table as follows.

Image RemovedImage Added

Preconditions

If the Test requires any Preconditions, they will be shown.

...

The Preconditions are listed in a table as follows.

Image RemovedImage Added

Test Details

This section shows the Test details; for that we are considering the different possible Test Types we can have in Xray. For each type we will fetch different information.

...

TypeKeyDescriptionCodeOutput

Unstructured

(e.g., "Generic")

Test TypeTest Type field

${Test Type}

Image RemovedImage Added

SpecificationDefinition of the Generic test${Generic Test Definition}

Gherkin

(e.g., "Cucumber")

Test TypeTest Type field

${Test Type}

Image RemovedImage Added

Gherkin SpecificationGherkin specification of the Test

${Cucumber Scenario}

Structured

(e.g., "Manual")

(Step)Step Number${TestSteps[m].StepNumber}

Image RemovedImage Added

ActionAction of the Test Step${TestSteps[m].Action}
Step Custom FieldsStep Custom Fields

${TestSteps[m].StepCustomFieldXX}


Note: needs to be explicitly defined on the template; by default, no step custom fields will be shown.

DataData of the Test Step${TestSteps[m].Data}
Expected ResultExpected Result of the Test Step${TestSteps[m].ExpectedResult}
AttachmentsAttachment of the Test Step; images will be rendered

@{title=${TestSteps[m].Attachments[sa].Name}|href=${TestSteps[m].Attachments[sa].FileURL}}

!{${TestSteps[m].Attachments[sa].FileURL}|width=100}


...

The Test Sets are listed in a table as follows.

Image RemovedImage Added

Test Plans

If the Test is part of Test Plans, they will be shown.

...

The Test Plans are listed in a table as follows.

Image RemovedImage Added

Appendix A: Approval

This section is added for the cases where you need to have a signature validating the document.

Image RemovedImage Added


Customizing the report

...