Versions Compared

Key

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

...

Panel
borderColor#F3F3F3
bgColor#FAFAFA
borderWidth1px

Parameterized Tests

Section
Column
width70%

Test parameterization is a powerful practice that allows the same test to be executed multiple times with different parameters.

Parameters are similar to input values (variables) that can change with each execution.

Parameterized tests in Xray are defined just like any other test with the addition of some parameter names within the specification using the following notation:  ${PARAMETER_NAME}. This notation is used to reference parameters within the test steps.

All the iterations for a given test are executed within the context of the same test run. The step parameters will be replaced by the corresponding iteration values.

Xporter allows exporting Test Runs parameters and iterations directly from:

  • Tests
  • Test Executions

Please, check the Xray integration documentation  here

Column
width30%


Panel
borderColor#F3F3F3
bgColor#FAFAFA
borderWidth1px

Xray Custom Fields

Section

Test Step Custom Fields

Column
width70%

Xray allows configuring additional fields/columns for Test Step fields. This way you can fully customize the columns for your manual Test Steps hiding native fields, and providing new fields.
With this new version, Xporter allows exporting test steps custom fields using the same approach, which means, the placeholder with the custom field name.

Code Block
Iterating over Test Steps Custom Fields:
#{for teststeps}
    ${TestSteps[n].Action}
    ${TestSteps[n].Data}
    ${TestSteps[n].ExpectedResult}
    ${TestSteps[n].DateCustomField}
#{end}

#Iterating over Test Runs
#{for testruns}
    #Iterating over Manual Test Steps from Test Run
    #{for r=TestRuns[n].TestStepsCount}
        DateCustomField: ${TestRuns[n].TestSteps[r].DateCustomField}
    #{end}
#{end}

Column
width30%

Section

Test Run Custom Fields

Column
width70%

It is now possible to export  Test Run custom fields. These fields can be useful to add extra information to Test Runs, usually only available during or after executing Tests.

Code Block
#Iterating over Test Runs
#{for testruns}
  ${TestRuns[n].TextRunCustomField}
#{end}

Info

If your custom field type is a Number, Data, or Date Time you can use formatting functions.

Column
width30%

Panel
borderColor#F3F3F3
bgColor#FAFAFA
borderWidth1px

Export Sub Test Execution


Column
width70%

Export Sub Test Executions

Column
width30%

Xporter with this new version allows users to export all the information from a Sub-Test Execution.

A Sub-Test Execution has exactly the same functionalities as the Test Execution issue type.

Xporter for Jira allows you to get the following data from the Xray Test Execution:

  • Overall Execution Status
  • Iterating Test Runs associated with a Test Execution
  • Exporting Test Runs custom fields
  • Iterating Pre-Conditions associated with a Test Run
  • Iterating Attachments associated with a Test Run
  • Iterating Evidences associated with a Test Run
  • Iterating Defects associated with a Test Run
  • Iterating Automated Test details associated with a Test Run
  • Iterating Manual Test Step details associated with a Test Run
  • Iterating Manual Test Step Attachments associated with a Test Run
  • Iterating Manual Test Step Defects associated with a Test Run
  • Iterating Manual Test Step Evidences associated with a Test Run
  • Manual Test Step Custom Fields associated with a Test Run
  • Exporting Test Run Activity
  • Exporting Parameterized Tests from a Test Run


Please, check the Xray integration documentation  here

New Features and Bug Fixes

...