This repository provides a working example to learn and test Robot Framework automation - the test scripting language used by Robotmk for Synthetic Monitoring in Checkmk.
This is the easiest way to run the example — no local installation needed. Just click the button below:
→ How to run the example in Codespace
What is a GitHub Codespace?
A Codespace is a browser-based development environment (VS Code) hosted by GitHub — no local installation needed.
To run Robot Framework suites manually, refer to the Robotmk blog post with the step-by-step instructions for RCC:
→ How to Run Robot Framework Examples with RCC
→ Troubleshooting RCC
A focused web automation example using robotframework-browser (Playwright), testing the well-known TodoMVC application.
The suite deliberately emphasises assertion after every action — each keyword verifies the expected DOM state before returning, rather than relying on implicit waits alone. XPath is used to target elements by their visible text, which keeps selectors readable and resilient to minor markup changes.
| Test Case | Description |
|---|---|
Todo Can Be Created |
Adds a new todo item and verifies it appears in the list |
Todo Can Be Deleted |
Adds a todo, deletes it via hover → click, and asserts it is gone |
Todo Can Be Checked Off |
Adds a todo and marks it as completed; checks the checkbox state |
Show Only Active Items |
Adds multiple todos, checks one off, activates the Active filter, and verifies the completed item is hidden |
suite.robot— all test cases and keywords in one fileResources/BrowserCommon.resource— sharedBrowser Initkeyword (headless-aware viaROBOTMK_HEADLESS_HOST)
| Library | Version |
|---|---|
| Python | 3.12 |
| Node.js | 22.11.0 |
| Robot Framework | 7.4 |
| robotframework-browser | 19.14.2 |
Also try the other RF example suites, they all work in the Codespace environment.
🪲 Found a bug or have a suggestion?
→ Open an issue or submit a pull request — contributions are welcome.
📖 Want to go deeper? Want ot get a certified professional?
→ I offer Synthetic Monitoring Trainings or book a free call.
Simon Meggle — Founder of Robotmk, Product Manager Synthetic Monitoring at Checkmk
This repository is automatically synced from elabit/robotmk-starter. Do not edit files here directly — changes will be overwritten on the next sync. Last sync:
6316414