Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.52 KB

File metadata and controls

53 lines (36 loc) · 1.52 KB

Robot Framework Integration Example

This is an example for Robot Framework and SeleniumLibrary based on SeleniumLibrary's WebDemo repo.

Prerequisites

  • A device with Python 3+ Support
  • Sauce Labs Account

Run the demo

  • Install & setup Python dependencies (we recommend using a virtual environment)
# Create the virtual environment for this project if you haven't already
python -m venv .venv

# Activate the venv in your shell (bash/zsh)
# See here for Windows / other dist instructions:
# https://docs.python.org/3/library/venv.html#how-venvs-work
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt
export SAUCE_USERNAME=__YOUR_SAUCE_USER_NAME__
export SAUCE_ACCESS_KEY=__YOUR_SAUCE_ACCESS_KEY__
  • Run the test
robot tests
VISUAL_CHECK=1 robot tests

Installation & Usage

View installation and usage instructions on the Sauce Docs website.