Cross-platform Robot Framework library for GUI automation based on image recognition
Project description
This Robot Framework library provides the facilities to automate GUIs based on image recognition similar to Sikuli. This library wraps pyautogui to achieve this.
Keyword documentation
Travis CI
Prerequisites
Python 2.7+ (unfortunately not 3.x)
pip for easy installation
On OS X, Retina display might double all coordinates from what they are suppose to be. Unfortunately you need to work around this problem yourself.
On Ubuntu, you need to take special measures to make the screenshot functionality to work correctly. The keyboard functions might not work on Ubuntu when run in VirtualBox on Windows.
Development
Installation
If you have pip, installation is straightforward, although you need to explicitly install pillow first:
$ pip install pillow $ pip install robotframework-imagehorizonlibrary
This will automatically install dependencies as well as their dependencies.
Windows
ImageHorizonLibrary should work on Windows “out-of-the-box”. Just run the commands above to install it.
OSX
You additionally need to install these for pyautogui:
$ pip install pyobjc-core pyobjc
For these, you need to install XCode
Linux
You additionally need to install these for pyautogui:
$ sudo apt-get install python-dev python-xlib $ sudo pip install pillow
You might also need, depending on your Python distribution, to install:
$ sudo apt-get install python-tk
If you are using virtualenv, you must install python-xlib manually to the virtual environment for pyautogui:
Install with:
$ pip install python-xlib-<latest version>.tar.gz
Running tests
$ python tests/utest/run_tests.py [verbosity=2]
and
$ python tests/atest/run_tests.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for robotframework-imagehorizonlibrary-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90a8eed09fce0369f99b20116a65679e65c66ed466ffb44f49cb54ac6d0d4ab8 |
|
MD5 | b4e5586b743e247de39257e367280da1 |
|
BLAKE2b-256 | e4646d47e32b56a4930918791d2f626a52b93e1001221d83ed640664335a8201 |