Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Integrating with Robot Framework using API


Has anyone done this?
Just starting studying on the subject and it seems that after this is done to one project I can use the scripts as templates for other projects just changing testcaseID’s etc.

Any pitfalls I should try to avoid?


Hello Marko,

Thanks for your posting. We don’t have an example for Robot currently but TestRail’s API uses simple HTTP calls so this should be easy to integrate. The usual workflow would be “tag” your automated tests with the related test case IDs in TestRail and then use these IDs to add test results via the API (in combination with the ID of the test run, e.g. via the add_result_for_case API method).