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

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-2.1.tar.gz (18.3 kB view hashes)

Uploaded Source

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