We are doing automation testing in TestCafe, JSON file has been provided by the test team, error message received stating "File in wrong format" when trying to upload, does anyone have experience of uploading execution results from testCafe to Xray for Jira, are there any other methods that can be used?
It could be that the JSON file provided was created for the Xray Server version rather than Xray Cloud version.
I'm presently building a TestCafe Xray Cloud JSON reporter plugin and have found that the Cloud JSON format differs from the Server JSON format.
Also, the JSON file has to be uploaded using the API, not imported through the Jira Xray client UI.
https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST+v2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you please advise if this plug in needs to be installed at testcafe side or Xray/Jira? I am assuming this is at testcafe side which leads me to the next question, is this compatible with the free version of Testcafe or would this only work with testcafe studio. Thanks in advance for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kathryn,
Yes, it needs to be added to the TestCafe project as a dependency, then configured to be used. It can be configured to automatically upload the JSON report to your Xray Cloud instance.
I just published it to NPM, so you can start using it easily immediately:
https://www.npmjs.com/package/testcafe-reporter-xray-cloud-json
It is certainly compatible with the free version of TestCafe as that's what I'm using! :)
Paul
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.