This is the example project for the Robot Framework tutorial. It shows how to start automating visual tests with Applitools Eyes and Robot Framework.
It uses:
- Robot Framework as the core test framework
- Python as the programming platform underneath Robot Framework
- Selenium WebDriver for browser automation underneath Robot Framework
- Google Chrome as the local browser for testing
- pip for dependency management
- Applitools Eyes for visual testing
It can also run tests with:
- Applitools Ultrafast Grid for cross-browser execution
To run this example project, you'll need:
- An Applitools account, which you can register for free
- Python 3 version 3.6 or higher
- A good editor with Robot Framework support like Visual Studio Code
- An up-to-date version of Google Chrome
- A corresponding version of ChromeDriver
To install dependencies, run:
pip install -r requirements.txt
The main test case spec is acme_bank.robot
.
By default, the project will run tests with Ultrafast Grid.
You can control how Applitools runs by changing the EyesLibrary
runner
setting.
To execute tests, set the APPLITOOLS_API_KEY
environment variable
to your account's API key,
and then run:
robot acme_bank.robot
For full instructions on running this project, take our Robot Framework tutorial!