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.

On this page
  1. Problem and purpose
  2. Architecture
  3. Technology and tools
  4. Engineering decisions and approach
  5. Test scope and execution approach
  6. Results with dated evidence
  7. Evidence explorer
  8. Local setup and execution
  9. Workflow and reports
  10. Known limitations

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            RequestsLibrary

Technology and tools

AreaTools
FrameworkRobot Framework 7
UISeleniumLibrary 6.9
APIRequestsLibrary 0.9
Parallel runspabot
Code qualityRobocop linter (documentation required on every test and keyword)
CIGitHub 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.

Test report screenshot. Robot Framework report of a full parallel run. Static image; capture date is not recorded in the portfolio data.
Robot Framework report: 30 tests passed

Test report screenshot. Robot Framework report of a full parallel run. Static image; capture date is not recorded in the portfolio data.

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 check

Workflow and reports

View workflow definition.

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.

Back to Projects