Skip to content

Robotmk/example-web-webshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-webshop

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.

How to Run the example

Run online in a VS Code Devcontainer (recommended)

This is the easiest way to run the example — no local installation needed. Just click the button below:

Run this Robot in GitHub Codespaces

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.

Manually with RCC

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

About this Robot Framework test

Full checkout-flow example using robotframework-browser and robotframework-crypto, driven by the Robotmk multi-profile feature. The same suite runs once per user profile with profile-specific encrypted credentials.

  • Robotmk multi-profile execution: one robot.toml defines three user profiles (JaneDoe, JackHowe, BobSmith)
  • Per-profile extend-variables override USER_EMAIL, USER_PASSWORD, and USER_NAME
  • Encrypted passwords via CryptoLibrary — crypt:… values stored directly in robot.toml
  • A real checkout flow modularised across multiple keyword resource files (Resources/)
  • Dynamic output-dir with a timestamp expression in robot.toml

Test Cases

Test Case Description
User Can Reach Checkout Page Logs in as the configured user, adds items to the cart, and completes checkout

The suite is executed three times — once per profile (JaneDoe, JackHowe, BobSmith) — each with its own credentials and a timestamped output directory.

Links

General links & Documentation

Libraries and Versions used in this example

Library Version
Python 3.12
Node.js 22.11.0
Robot Framework 7.4
robotframework-browser 19.14.2
robotframework-crypto 0.3

About

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: 451913c


About

Robot Framework example (synced from elabit/robotmk-starter)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors