Skip to main content

WADLibrary

WADLibrary is a Application testing library for Robot Framework that utilizes Win App Driver.

This library was created to be able to work with multi-window use cases compared to Appium.


Getting Started

System Requirements

  • Windows 10 PC
  • Python 3
  • Robot Framework

Install the package

pip install robotframework-wadlibrary

Setting up WinAppDriver

  1. Download Windows Application Driver installer from https://github.com/Microsoft/WinAppDriver/releases
  2. Run the installer on a Windows 10 machine where your application under test is installed and will be tested
  3. Run WinAppDriver.exe from the installation directory (E.g. C:\Program Files (x86)\Windows Application Driver)

Windows Application Driver will then be running on the test machine listening to requests on the default IP address and port (127.0.0.1:4723). WinAppDriver.exe can be configured to listen to a different IP address and port as follows:

WinAppDriver.exe 4727
WinAppDriver.exe 10.0.0.10 4725
WinAppDriver.exe 10.0.0.10 4723/wd/hub

Note: You must run WinAppDriver.exe as administrator to listen to a different IP address and port.

Running the Demo

This repo includes a demo that runs a automated script with Windows 10s included calculator and paint app. To run the demo you don't need to start up WinAppDriver beforehand since the test will do it on its own. Note that if you have installed the driver in a non-default path you have to submitt the driver path with the driver_path variable in the import.

You can also start the driver manually for debugging or just to see the driver output. Follow the intructions inside the test file and start the driver manually before running any tests.

path_to_repo/Demo robot wadlibrary_demo.robot

Useful tools


This is my first python package so many things are not fixed yet, such as requirements.

Looking for Keyword Documentation? There is none! (Yet) For now you'll have to simply look in the keyword file.

I've included a simple demo that shows how to use the main feature (compared to appium), i.e. switching between windows.

Metadata

Release files for robotframework-wadlibrary 20.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-wadlibrary 20.6.4
File Size Uploaded Provenance Actions
robotframework-wadlibrary-20.6.4.tar.gz 5.9 kB Without provenance Details for robotframework-wadlibrary-20.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-wadlibrary 20.6.4
File Interpreter ABI Platform Actions
robotframework_wadlibrary-20.6.4-py3-none-any.whl Python 3 none any Details for robotframework_wadlibrary-20.6.4-py3-none-any.whl

Total release size: 15.8 kB

Release files / robotframework-wadlibrary-20.6.4.tar.gz

Download URL robotframework-wadlibrary-20.6.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f2682348e4ed54acea03a3dd5774a9fcd640819d7bcd25bcbd0fb65a9d7109cf
BLAKE2b-256 checksum
How to use checksums
45866b454b3a3bbd26370dc92d87e2ea11176339aea9bd8f2cdc6f5cfa1be249
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

Release files / robotframework_wadlibrary-20.6.4-py3-none-any.whl

Download URL robotframework_wadlibrary-20.6.4-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f994a9a3b4e3e9a995346b4544abdf0d2a264ddccae3f229dc7a432dfa5128b
BLAKE2b-256 checksum
How to use checksums
dda525c76d7aff733fd967e8e9b423f74ceca2ec7cdc95146fc17d057efd1855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

Security for robotframework-wadlibrary 20.6.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page