Robot Framework XML Results¶
Robot Framework Format¶
- Download our example file here: example_robotframework_report.xml
- Official Robot Framework documentation: Robot Framework Repository
<robot>- The top-level element of a Robot Framework result file. The
generatorattribute is used to figure out the platform and OS. The
generatedattribute is used to determine the creation time if not set by the URL parameters.
<suite>- Suites will become the top-level container. Their
sourceattributes 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
timestampelement is used to show when this message was thrown and their
levelelement shows if this is just INFO or possibly a FAIL.
<status>- Determines the status of a certain keyword where the
statusattribute determines the status. The possible states are PASS or FAIL. The
endtimeattributes are used to determine the duration of a test.
Assets are screenshots that Robot Framework can take, they are currently not implemented into Calliope but will be in the future.
<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.
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.