Windows GUI testing library for Robot Framework
Project description
Robotframework-FlaUI Library
License | |
Python Builds (x86) | |
Python Builds (x64) | |
Tests | |
PyPi |
Introduction
Robotframework-FlaUI is a keyword based user interface automation testing library for Windows applications like Win32, WinForms, WPF or Store Apps. It's based on the FlaUI user interface automation library.
Installation
Install the latest stable release:
pip install --upgrade robotframework-flaui
Dependencies and python support
The robot framework FlaUI is supposed to support the current Python 3 versions.
Required dependencies
See dependencies from Documentation
Additonal information about Python.Net
- With the release of Python.Net version 2.5.2, Python 3.9 support was implemented for the first time.
- However, no official support for Python 3.9 has been released yet.
- For more information see the issue #1389
- If there are problems installing the Python.Net library, please use Python 3.8 instead.
Documentation
RFHUB2
RHUB2 is an opensource project aimed to provide nice and easy way of collecting, browsing and sharing documentation of existing keywords written in RobotFramework and python. Built with Material-UI and FastAPI, served by Uvicorn.
Under docs/keywords are the necessary .XML files to import the keywords.
These can be imported separately according to their version with the RFHUB2-CLI tool or all versions.
rfhub2-cli .\docs\keywords\
rfhub2-cli .\docs\keywords\<VERSION>
GUI Inspector Tools
There are various tools around which help inspecting application that should be ui tested or automated.
Some of them are:
- FlaUI Inspect
- VisualUIAVerify
- Inspect
- UISpy
Examples
Examples of use can be found in the atests folder.
Development
Preconditions
- Install Python, if not already installed.
- Only Python 3 is supported.
- Install Robotframework and Python.Net
Dependency installation by Keen.bat
.\keen.bat dependency
Test-Applications
Two test projects were used for the UI automation:
- FlaUI WPF Test App 'Standard application that contains all common UI elements'
- Notifier Test App 'Application which closes automatically after a time'
Building and testing locally
Use the provided 'Commander Keen' file:
.\keen.bat test
The script automatically builds the:
- Library as a wheel file stored in the Dist folder
- Test documentation located in the Docs folder
- Automatically installs and runs the robot tests of the library and saves the test results in the Result folder
Following arguments are supported:
.\keen.bat <argument>
- cleanup - Removes all build folders
- dependency - Install all python dependencies
- build - Build wheel file
- install - Install wheel file
- test - Test robotframework-flaui
- pylint - Static code analysis for PEP 8. Generates pylint.html file in results.
Acknowledgements
FlaUI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for robotframework-flaui-1.6.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4abb9a1c242e4488fa9b9288752065cd0e1ef51a371dda4a58b8b43bf9ac36e |
|
MD5 | a80f2ba164e8cf4e463c041c3675a46f |
|
BLAKE2b-256 | a34c407ae3a6a47cb9d79dcac7d2ab661524c896fa4e8b0d94466120357f2c4d |
Hashes for robotframework_flaui-1.6.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f715268193bc2af6143aae41cefdec06ed277af4dad2fd6315fe79a1b88ba5 |
|
MD5 | 8d77d0f9a87205f174f1b89a38f686b0 |
|
BLAKE2b-256 | 40ae6a996a07b03531e325dcd0b7b064c4bf2a4ae3aacc821928e9250b4cb4af |
Hashes for robotframework_flaui-1.6.4-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f30437d440e7dd9c56c486987829e8c1e0d34bdad30960311c1730add640c9e |
|
MD5 | 19bd007393c03b1d5e90990e0f0a2585 |
|
BLAKE2b-256 | 3f032f17fe5648a2dc415c21f8de0eed73b8dd3a6f99534a1e7177582b9c4d77 |
Hashes for robotframework_flaui-1.6.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3aad7036ef5f41d3553d0bc5381986dc5f8002c24a358c6f7602ea23e0a5072 |
|
MD5 | 205a3d9ac8a14582a714e9a8b744cd9d |
|
BLAKE2b-256 | 0a358d9fd8e5d28bc69ff5e44cfa8f25332ed3149a0085240cd68f9582c3e93b |
Hashes for robotframework_flaui-1.6.4-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a7304121be626c8a47ecb166f159d3c6887899a1087f5c743200e9440e821d |
|
MD5 | 513b06e6b2084ce10a878642ce34cd8e |
|
BLAKE2b-256 | 8768ee824cd8b3fefb8f5b36f15a418a99a7dbe8e055bee6bf74911e785092a1 |
Hashes for robotframework_flaui-1.6.4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8de9018246fc701df84085dee3bf2587a697a05d166202e202e31a3320ae1cd |
|
MD5 | 89f6a3e9fafac7d973adfe6fe5be6629 |
|
BLAKE2b-256 | ea9cb46625b98f3ccb657d825d252321e8c1ccaa9d21641bb98a2ca5648ec3e0 |
Hashes for robotframework_flaui-1.6.4-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc7c93f2c6a19398194cb9c77c30ee8138e7fe49f9578e383efd644dfd158eb |
|
MD5 | 2af1bb533a8d215b83bcb8bd52f06c5a |
|
BLAKE2b-256 | 355fb7123be012441f906871c1ffe832ca5f35f22af2f134d6c0435a5122ec87 |