How to import keyword result from robotframework to xray

Vincent Palermini August 2, 2021

Hi,

I've made a program to import robotframework test execution to xray thanks to json.

But I do not find the way to import keyword result.
Below you can find the result.json example and the photo fo the result that i espect.

Thank you for your answer.

{"tests": [{"stopTime":20210802 13:10:06.789,"testKey": "SAN-156", "startTime": "20210802 13:10:06.788"}]}

 Capture d’écran du 2021-08-02 16-13-02.png

1 answer

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.
August 16, 2021

HI @Vincent Palermini , for Robot Framework you should use the RF XML format  and the respective endpoint(s) instead.

Please see the API docs here: https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST#ImportExecutionResultsREST-RobotFrameworkXMLresults

 

And a full tutorial for RF here:  https://docs.getxray.app/display/XRAY/Testing+using+Robot+Framework+integration+in+Python+or+Java

 

Regards

Sergio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events