Skip to main content

Robotframework-FlaUI Library

License
Python Builds (x86)
Python Builds (x64)
Tests
Python python_312 python_313 python_314
Robotframework
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

Python.Net Wrapper Issues

Robotframework-Flaui 1.x

  • 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.
  • This is only a potential problem by all robotframework-flaui 1.x versions which are implemented by Python.Net 2.5.2

Robotframework-Flaui 2.x

  • Sometimes an AccessViolationException wil be occure on latest Python.Net Version v3.0.1
    • For more information see the issue #1977
    • A workaround is to set Python's memory allocation environment variable "PYTHONMALLOC=malloc"

Documentation

RFHUB2

RFHUB2 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:

Examples

Examples of use can be found in the atests folder.

Development

Preconditions

  • Install Python, if not already installed.
  • Python 3 is supported.

Dependency installation by Builddrone

python -m pip install -r buildsystem.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'

Testing locally TLDR

python -m venv .venv
.venv/Scripts/pip install -r requirements-dev.txt

cd ./atests
../.venv/Scripts/robot -v UIA:UIA3 -d ../result -P ../src -t "Element Should Be Offscreen" Element.robot

Building and testing locally

Use the builddrone tasks defined in blueprint.json:

python -m builddrone <task>

Following tasks are supported:

  • build - Create the package (dist) and keyword documentation (keywords)
  • cleanup - Remove generated folders and local virtual environments
  • robocop - Run Robot Framework lint checks via robocop_lint.py
  • pylint - Run pylint for the Python sources in src
  • test - Run UIA2 and UIA3 acceptance tests and merge results into result

Example full local CI run:

python -m builddrone build
python -m builddrone robocop
python -m builddrone pylint
python -m builddrone test

Releasing a new version - Frequent tasks

  • add or update keywords in folders
    • src/FlaUILibrary/flaui/module
    • src/FlaUILibrary/keywords
  • add or update tests in folder atests
  • update version in src/FlaUILibrary/version.py
  • update CHANGELOG.md
    • add a release near the top
    • add the links at the bottom in section ### Added

Acknowledgements

FlaUI

  • Thanks to @Roemer for the passion to create and maintain the FlaUI project.
  • Thanks to FlaUI developers and maintainers for this project.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_flaui-5.0.1.tar.gz (312.9 kB view details)

Uploaded Source

Built Distributions

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

robotframework_flaui-5.0.1-cp314-cp314-win_amd64.whl (347.9 kB view details)

Uploaded CPython 3.14Windows x86-64

robotframework_flaui-5.0.1-cp314-cp314-win32.whl (347.9 kB view details)

Uploaded CPython 3.14Windows x86

robotframework_flaui-5.0.1-cp313-cp313-win_amd64.whl (337.6 kB view details)

Uploaded CPython 3.13Windows x86-64

robotframework_flaui-5.0.1-cp313-cp313-win32.whl (337.6 kB view details)

Uploaded CPython 3.13Windows x86

robotframework_flaui-5.0.1-cp312-cp312-win_amd64.whl (337.6 kB view details)

Uploaded CPython 3.12Windows x86-64

robotframework_flaui-5.0.1-cp312-cp312-win32.whl (337.6 kB view details)

Uploaded CPython 3.12Windows x86

robotframework_flaui-5.0.1-cp311-cp311-win_amd64.whl (337.6 kB view details)

Uploaded CPython 3.11Windows x86-64

robotframework_flaui-5.0.1-cp311-cp311-win32.whl (337.6 kB view details)

Uploaded CPython 3.11Windows x86

robotframework_flaui-5.0.1-cp310-cp310-win_amd64.whl (337.6 kB view details)

Uploaded CPython 3.10Windows x86-64

robotframework_flaui-5.0.1-cp310-cp310-win32.whl (337.6 kB view details)

Uploaded CPython 3.10Windows x86

robotframework_flaui-5.0.1-cp39-cp39-win_amd64.whl (337.6 kB view details)

Uploaded CPython 3.9Windows x86-64

robotframework_flaui-5.0.1-cp39-cp39-win32.whl (337.6 kB view details)

Uploaded CPython 3.9Windows x86

robotframework_flaui-5.0.1-cp38-cp38-win_amd64.whl (337.5 kB view details)

Uploaded CPython 3.8Windows x86-64

robotframework_flaui-5.0.1-cp38-cp38-win32.whl (337.5 kB view details)

Uploaded CPython 3.8Windows x86

File details

Details for the file robotframework_flaui-5.0.1.tar.gz.

File metadata

  • Download URL: robotframework_flaui-5.0.1.tar.gz
  • Upload date:
  • Size: 312.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for robotframework_flaui-5.0.1.tar.gz
Algorithm Hash digest
SHA256 435cd972ea3dbc58a8de83f5233c0a61dc78976adccb54486e16eeaae6a91579
MD5 e13271a2f5c1f717cd68eae3254622a2
BLAKE2b-256 344fc554345f9e8a6baf68842777c851ee69ad873ce26893cf1334cb242c64a4

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 53d54e534e439890c11c5df708bf0873b3c7aa6acb2d2c16beba0306d15c04fc
MD5 c261cf4ab4134f8bb5b2da5e6f1a7e27
BLAKE2b-256 0894f704bb34dee1cf698bb9adce62d66b70f15ada385a0bf042e9a73a8aa168

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp314-cp314-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 fcffba93e52aa4129f3e90f2e6f0d68c8218536df9eaeac7ffffac5815ddde9e
MD5 f31abbb676ee8e092898354c17a87dd9
BLAKE2b-256 baae9ca6ac0e00cabd76798acc1c6d5780a8756a401240216423eb8b4d2aec63

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 53e9bc3f582804292b2137b6a11a3deed9e4ed0714f63b2960ad9a325bd580c7
MD5 a6dd1eb16981e82e43c8aa944c4a6c41
BLAKE2b-256 dad73cbf37d5bace5dc0b5290a21f1de22c010c5b901563a0fe45e308cd12d1b

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp313-cp313-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 6eae54cce197d7f7e6dfe3f3356a48635bc0eee41f838b6ae1d1e1bb508009b7
MD5 f0f7b4a9d7a05c64812ea7653df394a0
BLAKE2b-256 2a36aa557d6d8bc124165553d354b23ab433510a20ba34a0fbf6c81246cf54fc

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c6f0a9729f35906e608495e2733134886a80305d5204dbd6f361d63d390a6995
MD5 f2d9e78fdcc3ce0e9b9573ce44fc29d6
BLAKE2b-256 16d8c6deb22300b1b4e55547f1d95b4787f89d7d7f4c58be2a9d2890c6a4cedf

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 89b5b13abd2a1ba1f565d81190a8b92a67c9b8f5ff5fd138ee998b40eaa086d2
MD5 338a469771fcd8acde5d50ecd020631d
BLAKE2b-256 7dadef705075fa6784d4771f784e0f3932ea2561d6aaceab1c4657fb089b4e8a

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2a6106d54a8fd30a107566342ecf590fd88c33405c43a09b08914982b14a598b
MD5 78d68d1bf67e1363b0cbaca37d926fad
BLAKE2b-256 8fd3dcb85adb1bbd6541709e6ace2031c4a3d2c5de96721f48e63b452814d766

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 456cdd69d331121bb6fdf98f1e5a441cc241a7cd8334e5ea0c9c87e1195c4b72
MD5 ab76e39f52273dfeee2ab01730b874f3
BLAKE2b-256 b426079db83a2c7d9b5412c510847ab7bf99998a68b1a29178de4c8621c19179

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 49b5a2c31a877cf58a8c87d0ae85ee5563dfc922878867533ca35cc65afa7777
MD5 abb7ce02351e4d2b7ca96e5442af25bb
BLAKE2b-256 9597038110262e4a5d370540fa8967355a3ca671c82c76bc0173add9a6fc1a5b

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a89975b642ab13953bc25fff37101a12eb5648e78eecb08e5879ba0db49366a7
MD5 73ceecd7afc52daff2353d8b48118606
BLAKE2b-256 10f1f6fec8fc7dabe570574707a883dcae9bc56fabf7fdc375bb9ebd35fb82d5

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 87bf04a8e01403718c7e8e3df7b298cd8e800ad7870a72dd8b96e8162cc53be9
MD5 95f029cb19006bd177d812bf6b659af8
BLAKE2b-256 e2a0261f7c1449b1397c11c1cbdab3d41014fcc0bdf82c0fd7da4c06ad15a464

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2afaa2855f16c9ef7c4ea94a348e17362df5cd0eb887b5147aa556ca97c60b94
MD5 703086853836bf9838a8979972e8e620
BLAKE2b-256 913d47dfdd1bb3f23034c689d0404aa0af0d6144a8d705c2bebb4621c9d6cb5e

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8130984ec8d3f24f86d7d8ede77adc9902a20f2bd8810cbe918487efd49f9ce6
MD5 fc5372007357cb2a026f20752c7949b1
BLAKE2b-256 b44c31e496b44db04e9ab913a60675a451a3b688761292a56db768cbbc0a0c46

See more details on using hashes here.

File details

Details for the file robotframework_flaui-5.0.1-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for robotframework_flaui-5.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d4314d72a7f2ff4f37185459d94cc2141fb8efea316ac8c6a0d2ba85999e2d69
MD5 423dd7cf9a995e18dd5fa33abb1a405f
BLAKE2b-256 b09e58eb6999f3aa0524e1d2c9d85ccf9ba2eedea239a96ed2fd421579dee5e2

See more details on using hashes here.

Release history Release notifications | RSS feed

5.1.1

15 files

5.1.0

15 files

5.0.2

15 files

This release

5.0.1 This release

15 files

5.0.0

15 files

4.1.1

13 files

4.1.0

13 files

4.0.5

13 files

4.0.4

13 files

4.0.3

13 files

4.0.2

13 files

4.0.1

13 files

4.0.0

13 files

3.7.0

13 files

3.6.1

13 files

3.6.0

11 files

3.5.0

11 files

3.4.0

11 files

3.3.0

11 files

3.2.0

11 files

3.1.0

11 files

3.0.3

11 files

3.0.2

11 files

3.0.1

11 files

3.0.0

11 files

2.1.3

11 files

2.1.2

11 files

2.1.1

11 files

2.1.0

10 files

2.0.16

10 files

2.0.15

10 files

2.0.14

10 files

2.0.13

10 files

2.0.12

10 files

2.0.11

7 files

2.0.10

7 files

2.0.9

7 files

2.0.8

7 files

2.0.7

7 files

2.0.6

7 files

2.0.5

7 files

2.0.4

7 files

2.0.3

7 files

2.0.2

7 files

2.0.1

7 files

2.0.0

7 files

1.7.3

7 files

1.7.2

7 files

1.7.1

7 files

1.7

7 files

1.6.6

7 files

1.6.5

7 files

1.6.4

7 files

1.6.3

7 files

1.6.2

7 files

1.6.1

7 files

1.6

7 files

1.5.1

7 files

1.5

7 files

1.4

7 files

1.3.6

5 files

1.3.5

5 files

1.3.4

5 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page