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 the example manually, refer to the blog post with the step-by-step instructions:
→ How to Run Robot Framework Examples with RCC
→ Troubleshooting RCC
Example combining robotframework-browser (Playwright) with robotframework-crypto. Shows how to safely inject an encrypted password into a web login form without ever exposing the plaintext in suite files.
- Browser-based login using Playwright (
rfbrowser) together with CryptoLibrary - The difference between a clear-text password (negative example) and an encrypted password (recommended)
- Headless / headed switching via the
ROBOTMK_HEADLESS_HOSTenvironment variable - Running a headed browser inside VS Code via the devcontainer noVNC desktop
| Test Case | Description |
|---|---|
Login With Clear Text Password |
Negative example — logs in with a hardcoded plaintext password. Never do this in production. |
Login With CryptoLibrary |
Recommended — decrypts the stored crypt:… password at runtime and uses Fill Secret |
| Library | Version |
|---|---|
| Python | 3.12 |
| Node.js | 22.11.0 |
| Robot Framework | 7.4 |
| robotframework-browser | 19.14.2 |
| robotframework-crypto | 0.3 |
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:
b9e1a9b