Robot Framework E2E Testing Workshop — 42 Vienna¶
Browser Library & Playwright for Web Testing
Workshop Date: March 16, 2026, 16:00 — 42 Vienna, Muthgasse 24-26, 1190 Vienna
Quick Start (3 steps)¶
- Fork this repository (click "Fork" on GitHub)
- Open a Codespace on your fork: Code → Codespaces → Create codespace on main
- Run the first test:
That's it! If the test passes, your environment is ready.
What is Robot Framework?¶
Robot Framework is a generic test automation framework. Unlike specialized tools (Cypress for web only, Postman for API only), Robot Framework uses one syntax and one reporting format across different testing domains:
- Web testing → Browser Library (Playwright) or SeleniumLibrary
- API testing → RequestsLibrary or RESTinstance
- Mobile testing → AppiumLibrary
- Desktop testing → Various libraries
This workshop focuses on web testing using Browser Library against SauceDemo.
Prerequisites¶
- A GitHub account (that's it — we use Codespaces)
- Optionally: local setup with Python 3.12+, Node.js 22+, and uv
Workshop Agenda¶
- Welcome, intro, environment setup
- RF syntax walkthrough + Browser Library basics
- Guided exercises: Login & Product tests
- Resource files, keyword abstraction, free exercises
- AI-assisted testing demo
- PR creation, CI results, wrap-up
Documentation¶
- Getting Started — setup guide (Codespaces, local, Windows)
- RF Syntax Cheatsheet — quick reference
- Browser Library Guide — Browser Library keywords
- Exercises — progressive hands-on exercises
- Optional Practice Sites — additional sites beyond SauceDemo
- Troubleshooting — common issues and fixes
- AI-Assisted Testing — using AI for test generation
- Student Workflow — fork, write tests, submit PR
- Windows Setup — detailed Windows instructions
- Keyword Documentation — auto-generated keyword reference (libdoc HTML)
Common Commands¶
# Verify environment
python scripts/check_environment.py
# Install dependencies
uv sync
# Initialize browsers
uv run rfbrowser init chromium
# Run all tests
uv run robot tests/
# Run specific suite
uv run robot tests/02_login_tests/
# Run your exercises
uv run robot tests/student_exercises/yourname_*.robot
License¶
MIT — Nikolaus Rieder, 2026