Skip to main content

A Robot Framework Library for automating the WINDOWS BASED GUI applications

Project description

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-PyWindowGuiLibrary

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.

Keyword documentation

For the keyword documentation go here.

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

robotframework-PyWindowsGuiLibrary-1.1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file robotframework-PyWindowsGuiLibrary-1.1.tar.gz.

File metadata

  • Download URL: robotframework-PyWindowsGuiLibrary-1.1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for robotframework-PyWindowsGuiLibrary-1.1.tar.gz
Algorithm Hash digest
SHA256 f53a12309c7985b893af31adf1289e3729fbb5702acd5efeb45603b0fc3606cd
MD5 7766033f23ef826668765b8f6aa5f54a
BLAKE2b-256 2cb8f2b9dd94062f8c97d069ab1d258bd27aad36cf4176fc87a53a188c403b34

See more details on using hashes here.

File details

Details for the file robotframework_PyWindowsGuiLibrary-1.1-py3-none-any.whl.

File metadata

  • Download URL: robotframework_PyWindowsGuiLibrary-1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for robotframework_PyWindowsGuiLibrary-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2568fd876d503862b3f9593818157f1ffda68c244ab1d2f9291af1eaf9d6c61
MD5 7e1904061b6186d6cbac7dc6efdd9516
BLAKE2b-256 7ae544b18f7d63c62e92b45a44bbacae5983f77bac14c7a3e1ca5c14238e7cb7

See more details on using hashes here.

Supported by

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