Windows GUI testing library for Robot Framework
Project description
Robotframework-FlaUI Library
Badges |
---|
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
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.
- To install Robot Framework and Python for .NET, run
pip install pythonnet
pip install robotframework
pip install robotframework-stringformat
pip install wheel
Alternatively you could use the provided requirements file:
pip install -r requirements.txt
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 local_install file:
.\local_install.cmd
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
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 Distribution
Hashes for robotframework-flaui-1.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57bf8a678d66892e7546809cd22a0eb38363817e366c440a0be93e4b7c43a529 |
|
MD5 | ec7472e5fb7bd3d9bec1054611b0dce7 |
|
BLAKE2b-256 | fc703ec641b8c1fb511e6186c1cea7f9d9eccfad60095be455235e94c0ff4d7d |
Hashes for robotframework_flaui-1.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90c864c00ab9ed677c088550523aebfedb0154fcac98ceb9d05f44ed7f2c1f70 |
|
MD5 | ad14d47c9e3b32e854d8fe435ecec938 |
|
BLAKE2b-256 | 43f64030b01dbbe2804c1628dc235d044e017fbc4b27c763e90da153bad3e467 |