Project | Web & API, CI/CD
Robot Framework UI + API
Page objects as resource files, API service objects, Python only where Robot syntax is awkward; CI lints first, then runs on Chrome and Firefox, plus a scheduled nightly run.
30 tests (15 UI, 15 API) in about 70 seconds with 4 parallel pabot processes.
Evidence checked 19 Oct 2026 | CI workflow and README test matrix
On this page
Problem and purpose
Shows keyword-driven automation built like maintainable software: the same tool I use at work (Robot Framework + Python), applied to my own demo shop (Pattern Shop, started from its Docker image in CI) and a public API (DummyJSON).
Architecture
tests/*.robot business language, no locators, no HTTP calls
│
pages / components api service objects
(locators live here) (URLs and bodies live here)
│ │
common.resource + ShopLibrary.py ApiSession.resource
│ │
SeleniumLibrary RequestsLibraryTechnology and tools
| Area | Tools |
|---|---|
| Framework | Robot Framework 7 |
| UI | SeleniumLibrary 6.9 |
| API | RequestsLibrary 0.9 |
| Parallel runs | pabot |
| Code quality | Robocop linter (documentation required on every test and keyword) |
| CI | GitHub Actions: lint gate, Chrome and Firefox matrix, nightly run |
Engineering decisions and approach
- Tests never touch a locator, URL path or HTTP verb; a UI or API change is one edit in one resource file
- One page object per screen; shared screen parts (the header) are components
- Action keywords do not assert; check keywords say "Should" (Submit Login Form vs Login Error Message Should Be)
- Python only where Robot syntax is awkward: money with Decimal, sort checks, random test data
Test scope and execution approach
Project-specific checks and execution details documented in the repository:
- 15 UI tests: login, product list and sorting, cart, checkout with the tax maths
- 15 API tests: auth, products, carts
- Argument files for common, CI and smoke runs; tags for selection
- Keyword names that read like a manual test script, with documentation on every test and keyword
Results with dated evidence
Historical repository or workflow evidence · older evidence; recheck the linked source
CI workflow and README test matrix
30 tests (15 UI, 15 API) in about 70 seconds with 4 parallel pabot processes.
Evidence checked: | Open dated evidence
Evidence explorer
Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
Static material from the public repository. The linked verification record was checked 2026-10-19; that date is not a screenshot capture date.
Dated workflow record
Evidence checked 2026-10-19. Open CI workflow and README test matrix
Local setup and execution
python -m venv .venv && .venv\Scripts\activate
pip install -r requirements.txt
pabot --processes 4 --testlevelsplit --artifacts png --artifactsinsubfolders \
--outputdir results -A args/common.args tests
robocop checkWorkflow and reports
Known limitations
- The API tests run against a public demo API (DummyJSON), whose availability affects results
- No performance tests in this public project (I use rfswarm for that at work)
- The evidence is limited to the public repository and linked run; it does not establish customer production impact.