Im using robot framework to automate my test cases. Once test cases are executed, im uploading the results in output.xml using xray's api in the below link.
However the main issue with this api is i wont be able to upload screenshots. To overcome this, Im using xray json format api in the below link.
Although this api allows me to upload screenshots, it is deleting the steps that have been uploaded using the xml results api.
My payload looks like this
"description": "TS01 GetRequest",
"comment": "Reads test data for your test case by searching for key\nwith test case name in all variable files passed in command line\nwhile execution.",
"comment": "Create Session: create a HTTP session to a server",
Can you please help me with this?
Below are the things i would like to see once results are pushed to jira
1) If tests are not present, test should be created
2) execution issue should be created containing all the tests executed in that run
3) each test in that execution should contain all steps as well as the screenshots uploaded
it seems that you're using Xray on Jira Cloud but you shared links to the documentation of Xray server/datacenter, which although similar is a different product.
The proper Xray Cloud documentation is this one.
Some relevant notes, if you use the Robot Framework XML (e.g. output.xml) report:
You cannot use Xray JSON format for that purpose, as it will only allow you to report the overall status of the test... and the Test must exist beforehand. You cannot yet report statuses for individual keywords, if you use this format.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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