Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,584
Community Members
 
Community Events
165
Community Groups

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

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. 

2 answers

1 accepted

0 votes
Answer accepted

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

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

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} 

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

Was this feature implemented on latest versions?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you