Skip to main content

Windows GUI testing library for Robot Framework

Project description

Robotframework-FlaUI Library

License
Python Builds (x86)
Python Builds (x64)
Tests
Python python_312 python_313
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.
  • 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 (UIA2 and UIA3)
  • test_uia2 - Test UIA2 interface usage
  • test_uia3 - Test UIA3 interface usage
  • pylint - Static code analysis for python code
  • robocop - Static code analysis for robotframework code
  • tidy - Formatter for robotframework code

Acknowledgements

FlaUI

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

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_flaui-4.0.0.tar.gz (299.2 kB view details)

Uploaded Source

Built Distributions

robotframework_flaui-4.0.0-cp313-cp313-win_amd64.whl (327.4 kB view details)

Uploaded CPython 3.13 Windows x86-64

robotframework_flaui-4.0.0-cp313-cp313-win32.whl (327.4 kB view details)

Uploaded CPython 3.13 Windows x86

robotframework_flaui-4.0.0-cp312-cp312-win_amd64.whl (327.4 kB view details)

Uploaded CPython 3.12 Windows x86-64

robotframework_flaui-4.0.0-cp312-cp312-win32.whl (327.4 kB view details)

Uploaded CPython 3.12 Windows x86

robotframework_flaui-4.0.0-cp311-cp311-win_amd64.whl (327.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

robotframework_flaui-4.0.0-cp311-cp311-win32.whl (327.4 kB view details)

Uploaded CPython 3.11 Windows x86

robotframework_flaui-4.0.0-cp310-cp310-win_amd64.whl (327.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

robotframework_flaui-4.0.0-cp310-cp310-win32.whl (327.4 kB view details)

Uploaded CPython 3.10 Windows x86

robotframework_flaui-4.0.0-cp39-cp39-win_amd64.whl (327.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

robotframework_flaui-4.0.0-cp39-cp39-win32.whl (327.4 kB view details)

Uploaded CPython 3.9 Windows x86

robotframework_flaui-4.0.0-cp38-cp38-win_amd64.whl (327.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

robotframework_flaui-4.0.0-cp38-cp38-win32.whl (327.3 kB view details)

Uploaded CPython 3.8 Windows x86

File details

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

File metadata

  • Download URL: robotframework_flaui-4.0.0.tar.gz
  • Upload date:
  • Size: 299.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for robotframework_flaui-4.0.0.tar.gz
Algorithm Hash digest
SHA256 57fbd9f54a65c89f4251097690860ef90a19275f6f928336e53bda376d3f0307
MD5 1ea0807bc1833099273e2a87cfeabcc9
BLAKE2b-256 5150719d8be422023898d50365cd99359445f551403ec4c7e63940c9c32a6b60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ee0484216149bf44b2e15d9a0c2effa3a3c43c0bbac822912102e9deb7048981
MD5 47d14d622b6296613f56485f7bd430a6
BLAKE2b-256 67769a85864d30f652678c4ee4ea01b8fcdce48b65148acb07b64acf4e65e761

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 77a81f3b0d87729e60f6e53e448266d5e8bf40ac5813e167b09919f490f61be5
MD5 a6e58aa2b9f603a83acc57693e5b0469
BLAKE2b-256 ab0b4debb118fe3ea135016401ff49b670c33d559bffaf25f30c30c1f4f8f6ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4dc9c536a5d5c13fe5e4e8da2cf432328683db09f0775291aee6358dd17a7926
MD5 8fe2477a8b5180e11658a1c78e527d75
BLAKE2b-256 c27f87d1eae35c4b293ac229739ea134372f5c0b9f05139df270f30a42dfe673

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 657c69710740f261dea302fb5cf08d1306bc25631098e447a9b66d20f622a02c
MD5 bdb388636ec77b88888bd65c80af200e
BLAKE2b-256 9865ec58b1f61a1786034a4b3acecfddf95d0311327fa01eed2e349b1120da48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 107368e431295cbd52afb93869053d7e1aed3d63aeef99f71abb2183cb0ede01
MD5 f45cfeedf8e7e7f210693587e6ca3ca5
BLAKE2b-256 6beb1a2ad82eb968a8290db5b65ba167f3f469c8361ce22256210ce9a272556d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 8452809ba87747f106ea3a50fd6b7785736405ab0ccd976798b0cc3a4b3cfb51
MD5 e143ec01200522cbad45f3b7b32bd20a
BLAKE2b-256 317b685cd7f0717e8ec8db694bf53c73a4c13ec547ca77516985313d0382dd93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 54d3cae8f7fea9f15603ba4c893d85977ee56f912133790eb9308f430d1b3036
MD5 01c79ee4cc3519ae33532708a674d75b
BLAKE2b-256 44f82b91ada5b54bc40e44912f81ef9e1e84a8deb5df453e7fd69f4a89e4accd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 432cd60df31fbba6cc08af51c84de0b21776a5972081a7a39810972ec661748d
MD5 a87d12ef7386b55d879fba3fcdda5116
BLAKE2b-256 c03a56356455f14c39295f1348e9110d0da0f39b9d3a1e94eda9a954f47f7aa6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 57d23dc8f900be700a5ec570940673e4c2087a54c02b5ecabdc8a54c8ef16b81
MD5 7ee71cafbef193a80ca5ed1346525377
BLAKE2b-256 b2e4d44af7c6c01c72b16ba57b0924c2c694a28d84d6cce376624c755ffbd2a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 0eb01cdb20362fb0fb915d0c881d98850b39ec73a57e118f8b201c8e33066869
MD5 8bd4e75e98e96c4592ae9622610141dd
BLAKE2b-256 202dc635e836e5241def0af4b9bfae9720eeab26bfbd269ec5e5a3ad09f6bdd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8daeec374d32ccf56043c0154d0db15d7ef55b3fb6bdefc6b9ddbd0a7d2b30bf
MD5 08ab66374223903fcebf96aaa61ee96b
BLAKE2b-256 cfbca602dadb33fbcc6d5e03cbeb5754192cc9675f858061fa1894d5d614b25e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 2d12301ed9d5164f60320c0827529bcc56c02e8bcf6154f4415fa7255611f965
MD5 501f05200ff25661095f5e33cdb955e1
BLAKE2b-256 12f676f05d4fc67bf34358fab8b862b98444bf957897d41004fa736f93f6ee57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page