How to run the autotest from enterprize product in jira, and get the auto test result ine xray?

brenda zhang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 29, 2024

Our company required us to use Jira to run auto test and get the auto test report from Xray, the Auto test script is ready, but we dont know how to upload it into jira, and run it. would somebody help on this issue. thanks. 

2 answers

2 votes
Manuel
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.
November 1, 2024

Hi @brenda zhang , it's pretty straightforward as long as the test report format is one of the formats supported by Xray.

In sum, you just need to make one REST API call to submit the results, all at once. Please have a look at Xray endpoints for importing results here. Xray will create the tests upon submission, automatically and only if required.

There are many tutorials for automation in the documentation, but if you want to see a simple example look at the one for Cypress.

For some testing frameworks, you may be able to provide additional information like linking results to existing Tests or add screenshots; that is a bit more advanced and as I mentioned, it depends on the ability to do that on the framework. One tutorial showcasing this seems to be this one for Junit5 and Selenium.

There's also a test automation course in Xray academy; you may need a license to see it.

0 votes
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2024

Hi @brenda zhang , welcome to the Atlassian Community and thanks for your question.

Please check out the documentation for Xray here https://docs.getxray.app/category/xs 

You can also reach out to the vendor directly for support as well https://marketplace.atlassian.com/apps/1211769/xray-test-management-for-jira 

Hope this helps you

Cheers

Suggest an answer

Log in or Sign up to answer