Skip to main content

PyWindowsGui Library

This library is created to automate testing the WINDOW GUI (desktop) application using the Robot Framework. It uses pywinauto and pyautogui wrappers to interact with GUI interface.

Installation

PyWindowGuiLibrary can be found on PyPI: https://pypi.org/project/robotframework-PyWindowsGuiLibrary.

To install, simply use pip:

pip install robotframework-PyWindowsGuiLibrary

To upgrade, simply use pip:

pip install -U robotframework-PyWindowsGuiLibrary

pip install robotframework-PyWindowsGuiLibrary --upgrade

Dependencies are automatically installed.

Importing in Robot Framework

As soon as installation has succeeded, you can import the library in Robot Framework:

*** Settings ***
Library  PyWindowsGuiLibrary

Usage

First of all make sure application is up and running.

To open a new instance of an application from given path use Launch Application or Focus Application Window to connect to a instance that is already opened.

This library provides support even for opened applications. To connect an existing application use Focus Application Window without using Launch Application.

Finding properties

Initially to know about the application tittle property use AutoIT inspector.

To get AutoIT inspector follow this link and use: https://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe

To get the Controls and properties use Print Current Window Page Object Properties and Print Specific Object Properties On Current Window keywords.

To find exact element property/control, analyse the hierarchy and find from printed controls identifiers.

Upcomming Development Items

  1. S̶y̶s̶t̶e̶m̶ ̶T̶r̶a̶y̶ ̶a̶n̶d̶ ̶T̶a̶s̶k̶b̶a̶r̶ ̶H̶a̶n̶d̶l̶i̶n̶g̶.-Done

  2. Tree Struce Handling support

  3. Upgrading keyword coverage in various areas (specifically enhancing support for win32 and uia)

Note

File defects here with log traces if anything found. Or write mail to himavanthudu.b@gmail.com

Keyword documentation

For the keyword documentation go here.

Metadata

Release files for robotframework-PyWindowsGuiLibrary 2.1

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-PyWindowsGuiLibrary 2.1
File Size Uploaded Provenance Actions
robotframework-PyWindowsGuiLibrary-2.1.tar.gz 18.3 kB Without provenance Details for robotframework-PyWindowsGuiLibrary-2.1.tar.gz

Release files / robotframework-PyWindowsGuiLibrary-2.1.tar.gz

Download URL robotframework-PyWindowsGuiLibrary-2.1.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5c9bf93bb8274cdc35f02be869c45de0d5842e2e6934509fbdd21d597b087bb2
BLAKE2b-256 checksum
How to use checksums
4175444e1874a17c3469db86469f1062d7adb855ada65d14f7f5f69689648f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for robotframework-PyWindowsGuiLibrary 2.1

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