Custom library for comparing images with use in Robot Framework.
- Test samples/test.robot - file with examples how to use keywords
- WatchUI/WatchUI.py - file with keywords
- Open CMD
- Start
pip install WatchUI
- Now you can download WatchUI.py from repository or import WatchUI to new python file more here
- If you download WatchUI.py: You must first enter the path in Settings =>
Library path
, where path is the path to the WatchUI.py file
- Python
- RobotFramework
- OpenCV
pip install opencv-python
orpip3 install opencv-python
- Pillow
pip install Pillow
- Numpy
pip install numpy
- Scikit
pip install scikit-image
- Imutils
pip install imutils
- Download git file (Mainly ./Python/WatchUI.py)
- Enter the path in Settings =>
Library path
, where path is the path to the WatchUI.py file - Now you can start using keywords listed below. Keep in mind that you need to have all dependencies installed.
Library documentation can be found HERE.
Image where the differences are stored + You can see two black box in left corner. These black box are ignored during comparison.
The red rectangles outlining missing elements on compared screens