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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bruno Conde & @Sergio Freire - Xblend: FYI, I have published the plugin on NPM for general use.
https://www.npmjs.com/package/testcafe-reporter-xray-cloud-json
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Paul M Edwards , I've added its reference to our public doc: https://docs.getxray.app/pages/viewpage.action?pageId=31621827
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it still working?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great work @Paul M Edwards !
Let me ask our PO to help you out :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.