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
-
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
-
Tree Struce Handling support
-
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
File details
Details for the file robotframework-PyWindowsGuiLibrary-2.1.tar.gz
.
File metadata
- Download URL: robotframework-PyWindowsGuiLibrary-2.1.tar.gz
- Upload date:
- Size: 18.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c9bf93bb8274cdc35f02be869c45de0d5842e2e6934509fbdd21d597b087bb2 |
|
MD5 | e7cb5c54bef5a03282d46d0e9fe4193e |
|
BLAKE2b-256 | 4175444e1874a17c3469db86469f1062d7adb855ada65d14f7f5f69689648f8e |