Skip to main content

RobotFramework library package for automated visual testing.

Project description

WatchUI

Code style: black

Documentation | Tesena | Pypi

Important notice for users

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).

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WatchUI-2.0.5.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

WatchUI-2.0.5-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file WatchUI-2.0.5.tar.gz.

File metadata

  • Download URL: WatchUI-2.0.5.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.10 Linux/5.11.0-1028-azure

File hashes

Hashes for WatchUI-2.0.5.tar.gz
Algorithm Hash digest
SHA256 5a1edf9a0cd821f586cad8e66699d66c700cfcee285acecbb9b34d5e27ce6357
MD5 74141206b71a9276835bc68d9b755ee6
BLAKE2b-256 1ae1dfe578a9de7c16827a575c9b107a158ee023ce4b1711039145a54b248385

See more details on using hashes here.

Provenance

File details

Details for the file WatchUI-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: WatchUI-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.10 Linux/5.11.0-1028-azure

File hashes

Hashes for WatchUI-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 12c6afffd1939dc0073d4c2596cca8ef4341bab0be29a24d1486abc9fd6aea2e
MD5 96236e9beb00d822139fbe5f344f8670
BLAKE2b-256 8a655430e395633380b99a69e6c6a1733d3ef27e05fd3439fac5d6b93ae68aba

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page