0

We are using XRay's cloud APIs to upload execution reports to change the execution status of test cases. But the execution report is generated from Squish tool but not from robot framework or cucumber etc. As per the documentation from XRay https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results+-+REST , Squish reports are not supported. How do I customize this squish XML report that will be understood by XRay APIs and update test results? Any experts?

A. Kootstra
  • 6,827
  • 3
  • 20
  • 43
Manjula
  • 21
  • 4

2 Answers2

0

Accordingly with Squish docs, it can generate JUnit XML reports which you can then submit back to Xray, either using the Xray REST API directly or by using one the CI plugins (e.g. Jenkins plugin). Xray will then auto-provision Test issues based on the JUnit XML report following the rules here-in defined. In sum, generate JUnit XML reports and submit them to the Xray REST API.

Note: depending on the information that you need to have visibility of in Xray/Jira, the JUnit XML report may or not be enough. If you need more detailed information you may have to use a different format and have a way of building out a report in that format. More on the capabilities of each format here.

Sérgio
  • 1,777
  • 2
  • 10
  • 12
0

The recommended approach by the vendor of Squish is to import the Squish test results into their Squish Test Center product, and that will then push the results into Xray. (Also see "Integration for Xray".)

frog.ca
  • 684
  • 4
  • 8