Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The name, error message, duration and status of  RobotRobot's keywords will be imported and stored in the test run results.

...

Information about each Robot keyword (i.e., step), along with the corresponding status, are is displayed in the Context section of the Execution Details of the Generic Test.

...

Robot Framework's test case status maps directly to Xray test run status FAIL and PASS.run status FAIL and PASS.

Message

For passed keywords, the message will be imported from the inner <msg> element within the respective <kw> element (only if the <msg> element has the attribute "level" having one these values: "INFO", "WARN", "ERROR", "FAIL").

For failed keywords, the message will be imported from the inner <msg> element within the respective <kw> element. If the <msg> element does not exist, it will be imported from the text associated with the <status> element defined within the <test> element.

This information will be shown in the execution screen of the Test RunNote: Test Cases with the status FAIL may have an error/failure message displayed in the Results section of the Test Run screen.



Info
titleWorking example
Please take a look at the tutorial Testing using Robot Framework integration in Python or Java for a more concrete end-to-end example.


Notes and Limitations

  • attachments (e.g. screenshots and other files) are not supported/imported as they are not embedded in the XML report; it seems that some libraries add references to their local paths in the <doc/> element but these cannot be imported as they are external to the report
  • nested keywords are not supported

References