Reference specific Xray Test Case Dataset value(s) in Xray Cloud Execution Results JSON file

Paul M Edwards
Contributor
June 21, 2021

I'm presently creating a TestCafe Reporter Xray Cloud JSON plugin to facilitate automatically uploading our TestCafe automated test execution results into our Xray Cloud instance using the provided Xray Cloud REST API v2.

The repository for my effort is here. I will publish it to NPM as well under the same name when I feel it is ready for wider consumption.

One of my goals is to link the data-driven TestCafe test iteration(s) to specific Dataset value(s) defined in Xray. Perhaps I've simply overlooked it, but I don't see a mechanism for doing so documented in the Xray Cloud Xray JSON format documentation.

If I have simply overlooked it, please point me in the right direction. If it is not possible at this time, I'd appreciate that information as well.

Thanks in advance,

Paul

3 answers

1 accepted

0 votes
Answer accepted
Bruno Conde
Atlassian Partner
June 22, 2021

Hi @Paul M Edwards

Yes indeed, great work :)

I'm assuming you are importing these results into manual tests as Xray does not yet support datasets on Generic or BDD tests.

Also, the Xray JSON format does not yet support datasets. Actually, we will start working on this feature shortly. It is scheduled to be released on the next minor version of Xray (v2.1) that we plan to release at the beginning of August. 

Please check the following issue. It contains a simple proposal of the format to import iteration results.

https://jira.xpand-it.com/browse/XRAYCLOUD-3045

 

Best Regards,

Bruno Conde

Paul M Edwards
Contributor
June 22, 2021

Yes, our TestCafe automated tests link to the Xray manual steps.

That is as I suspected regarding the JSON format not yet supporting datasets. I've subscribed to notifications for that enhancement. The format looks suitable.

Thanks @Bruno Conde.

Like Nadiia Kamenska likes this
Paul M Edwards
Contributor
June 25, 2021
Like Sergio Freire - Xblend likes this
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.
June 29, 2021
Like Paul M Edwards likes this
Paul M Edwards
Contributor
June 29, 2021

Looks like there's a couple extra characters encoded at the end of the URL you provided, resulting in a 404... truncating them directs to the correct page.

https://docs.getxray.app/pages/viewpage.action?pageId=31621827

0 votes
Mohammed Nazar
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!
December 5, 2024

Is it still working?

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.
June 22, 2021

Great work @Paul M Edwards !

Let me ask our PO to help you out :)

Paul M Edwards
Contributor
June 22, 2021
Like Sergio Freire - Xblend likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events