Is there a new way to export Xray test steps in docx templates?

Romain HERBET July 23, 2020

Hi all, 

I'm trying to export test steps from my Xray projet using a docx template.

I'm following the advices found in:
https://confluence.xpand-it.com/display/public/XPORTER/Xray+Test+Management+for+Jira#XrayTestManagementforJira-ManualTestSteps
But nothing is writen in the final document.

I've been able to export test steps using ${Manual Test Steps} but it return the steps in a JSON format (the option '|html=true' doesn't work too).

I'm using Xporter v6.5.1 with Xray v4.0.1 and Jira server v8.5.5.

Is anyone have the same issue?

I thank you in advance for your answers.

1 answer

0 votes
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2020

Hi @Romain HERBET 

In order to export the Manual Test Steps from a Test, you can use the new feature from Xray, Document generator, or Xporter.
For that just use this code in a template:

#{for teststeps}
    ${TestSteps[n].StepNumber}
    ${TestSteps[n].Step}
    ${TestSteps[n].Data}
    ${TestSteps[n].ExpectedResult}\
#{end}

 More info here: https://confluence.xpand-it.com/display/public/XPORTER/Xray+Test+Management+for+Jira#XrayTestManagementforJira-ManualTestSteps

Best Regards, 

 

Sérgio Freire, Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events