Usually RobotFramework is run in a single process on the (windows, linux, mac) runtime (using the robot command). I’d like to execute RobotFramework test suites (plus report aggregation, etc.) programatically using the RobotFramework API inside of a web service (e.g. FastAPI). Has someone experience with this approach or a reference for further research?
Hi Florian,
Yes, there is the Robot Framework Webservice Project: GitHub - MarketSquare/robotframework-webservice: Webservice for running Robot Framework test cases.
It offers a fast API Webservice with endpoints to execute test suites and cases from a given folder. Every execution request responses with an execution id. With that I’d you can retrieve old logs and reports of past executions.
It also offers a swagger doc.
If you have any feedback, don’t hesitate to ask questions or open issues in the project itself in GitHub.
Cheers,
Markus
2 Likes