Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to export Test Execution Details Results/ Test Steps from generic test with Xporter?

Philipp Stark
April 30, 2019

I need to export the test results (context, Error Message, Duration and Status) per test step from an automated (generic) test into a word template. Is there a way to access this information? I can only access the test details per step in a manual test. 

3 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Inês Silva
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 Champions.
May 10, 2019

Hi Philipp,

No, this is not possible, because in the Xray context a Generic Test is an automated agnostic Test and the only Field that is related to a Generic Test is its Definition. The Xray application only supports steps when we are using Manual Tests. 
You can see more information here https://confluence.xpand-it.com/display/XRAY/Test

Best regards,

Xray Team

Zülal Gelgec
September 25, 2019

Hi there, 

i am trying to do a bulk export for the failed Test steps within a Test Plan or Scenario. 

In order to see when a test failed, at which step and why?

Is this possible?

Thanks

Zu

Like Benjamin XEMARD likes this
Philipp Stark
September 26, 2019

I guess you could try using the JQL filter to only get the failed tests. Something like this: 

#{for a=JQLIssuesCount|clause=project=YOUR PROJECT and issuetype = "Test" and TestRunStatus = "${Key}-FAIL"}

#{for r=JQLIssues[a].TestStepsCount}

StepNumber: ${JQLIssues[a].TestSteps[r].StepNumber} 

Step: ${JQLIssues[a].TestSteps[r].Step}  

Step Status: ${JQLIssues[a].TestSteps[r].Status}  

#{end}

#{end} 

Manny P
Contributor
December 16, 2019

Hi Phillip ,

I am trying to use your query that you suggested above. It is giving me an error that - 

The character '#' is a reserved JQL character. You must enclose it in a string or use the escape '\u0023' instead. (line 1, character 1)

Do you know how to resolve this error. 

Thanks in advance. 

Manny

0 votes
PEDRO SANTANGELO CALVO
March 25, 2026

It is possible. You can make it with an Excel Template, with velocity tokens.

See this page for the fields that you can use in XPorter
https://docs.getxporter.app/space/XPORTER/1413922/Mappings

 

 

0 votes
Santiago Estel
Contributor
May 4, 2022

Was this feature implemented on latest versions?

TAGS
AUG Leaders

Atlassian Community Events