Skip to content

Robot Framework XML Results

Getting Started

You can find the installation instructions for Robot Framework here. Keep in mind that you will first need Python installed.

Robot Framework Format

Structure

  • <robot> - The top-level element of a Robot Framework result file. The generator attribute is used to figure out the platform and OS. The generated attribute is used to determine the creation time if not set by the URL parameters.
  • <suite> - Suites will become the top-level container. Their id and source attributes are included in its description.
  • <test> - Tests are included as sub-containers of the above-mentioned top-level suites.
  • <kw> - Top-level keywords are the first results in test sub-containers. Consequent lower levels of <kw> elements are put in the description with a PASSED or FAILED tag prepended to them.
  • <doc> - Doc elements are included in the exception description and describe in more detail what a keyword does.
  • <msg> - Every keyword can include a multitude of <msg> elements. These are also included in the exception description. Their timestamp element is used to show when this message was thrown and their level element shows if this is just INFO or possibly a FAIL.
  • <status> - Determines the status of a certain keyword where the status attribute determines the status. The possible states are PASS or FAIL. The starttime and endtime attributes are used to determine the duration of a test.

Unsupported Features

Assets

Assets are screenshots that Robot Framework can take, they are currently not implemented into Calliope but will be in the future.

Arguments

Some <kw> elements include a list of arguments to show what kind of data was filled in for certain tests. In the future, they will be included in the JSON data.

Statistics

The bottom of a Robot Framework report includes statistics. Calliope automatically generates these for you, therefore the statistics included in a Robot Framework report will be ignored.