WatchUI
Documentation | Tesena | Pypi
Basic Info
Custom library for works with image, pdf and tesseract with RF.
Folder structure
WatchUI
└── .github/workflows # Folder with CI for github actions
└── assets # Folder with images used for documantation as well as test data
└── test # Folder with example how to write rf test.
│ └── unit_tests # Pytest unit test cases
│ └── test.robot # File with simeple Robot Framework TCs
└── WatchUI # Folder with WatchUI library
│ └── WatchUI.py # Main library file
│ └── IBasics # Basic utilities and error handling
│ └── Keywords # Keywords for working with images, PDFs and text(tesseract)
└── README.MD # Here you are :-)
└── setup.py # File for easy setup use with pip install .
Install
You can find detail in Documentation but basically use pip:
pip install WatchUI
or some python dependencies management tools, like pipenv or poetry and their respective methods of libraries installation.
Sample results
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
Important notice for users
For users with Windows
The scikit image library is used for image matching. Unfortunately, this is a scientific library. You need to have these libraries for installed to use them properly on windows:
- Windows 10 SDK
- C++ x64/x86 build tools
These libraries can be downloaded by using VS studio (not vscode) and installing the msbuild tool from VS studio. Alternatively, this library should also work.
WatchUI 1.0 vs 2.x.x
WatchUI 2.0 brings breaking changes. Dev team decided to streamline the library and focus it solely on the image and text comparison. This allows us to remove the implicit dependency on browser automation libraries - namely SeleniumLibrary, which was implicit part of the library via RF BuiltIn() import of the SeleniumLibrary instance.
This is no longer the case - user of the WatchUI therefore can and have to choose, what UI automation library will use and provide screenshots to the WatchUI keywords to be compared. It could be now used with SeleniumLibrary, Browser library, Sikuli, Appium or any other UI library where visual validation is required.
Version 1.x.x is no longer supported, but it is still available on [Pypi](pip install WatchUI==1.0.11).
Metadata
Release files for watchui 2.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| watchui-2.0.13.tar.gz | 11.4 kB | Without provenance | Details for watchui-2.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| watchui-2.0.13-py3-none-any.whl | Python 3 | none | any | Details for watchui-2.0.13-py3-none-any.whl |
Total release size: 24.3 kB
Release files / watchui-2.0.13.tar.gz
| Download URL | watchui-2.0.13.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a530a61cb901aa667b0f9114e36914e5855d59f6ef6cd8320e6613242ed7dd3
|
|
BLAKE2b-256 checksum How to use checksums |
c80bd235b481f63e437963504836e53d741c724f6ac9dadea76a458dfeb3264c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.16 Linux/5.15.0-1036-azure
|
Release files / watchui-2.0.13-py3-none-any.whl
| Download URL | watchui-2.0.13-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c32b62fd839d161979dda8693c33ee3b5cd5cc15dcbc0462624b607a508379d6
|
|
BLAKE2b-256 checksum How to use checksums |
258451027256cddeefd4f589d7ed9015b65628c700ebefa8e3023ab35d49ff1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.16 Linux/5.15.0-1036-azure
|
Security for watchui 2.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.