Skip to content

Cross-platform Robot Framework library for GUI automation based on image recognition

License

Notifications You must be signed in to change notification settings

hernandik/robotframework-imagehorizonlibrary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageHorizonLibrary

This Robot Framework library provides the facilities to automate GUIs based on image recognition similar to Sikuli. This library wraps pyautogui to achieve this.

This fork supports only python +3.7

All tests are, 'atests' and 'utests ' are passing in this version.

Keyword documentation

Keyword Documentation

Travis CI

Travis CI

https://travis-ci.org/Eficode/robotframework-imagehorizonlibrary.svg?branch=master

Prerequisites

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==2.9.0
$ 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

NOTICE ImageHorizonLibrary does not currently work with XCode v.8. Please use a previous version.

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:

Running tests

$ python tests/utest/run_tests.py [verbosity=2]

and

$ python tests/atest/run_tests.py

About

Cross-platform Robot Framework library for GUI automation based on image recognition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.5%
  • RobotFramework 5.5%