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.1.tar.gz (299.6 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-4.0.1-cp313-cp313-win_amd64.whl (327.7 kB view details)

Uploaded CPython 3.13Windows x86-64

robotframework_flaui-4.0.1-cp313-cp313-win32.whl (327.7 kB view details)

Uploaded CPython 3.13Windows x86

robotframework_flaui-4.0.1-cp312-cp312-win_amd64.whl (327.7 kB view details)

Uploaded CPython 3.12Windows x86-64

robotframework_flaui-4.0.1-cp312-cp312-win32.whl (327.7 kB view details)

Uploaded CPython 3.12Windows x86

robotframework_flaui-4.0.1-cp311-cp311-win_amd64.whl (327.7 kB view details)

Uploaded CPython 3.11Windows x86-64

robotframework_flaui-4.0.1-cp311-cp311-win32.whl (327.7 kB view details)

Uploaded CPython 3.11Windows x86

robotframework_flaui-4.0.1-cp310-cp310-win_amd64.whl (327.7 kB view details)

Uploaded CPython 3.10Windows x86-64

robotframework_flaui-4.0.1-cp310-cp310-win32.whl (327.7 kB view details)

Uploaded CPython 3.10Windows x86

robotframework_flaui-4.0.1-cp39-cp39-win_amd64.whl (327.7 kB view details)

Uploaded CPython 3.9Windows x86-64

robotframework_flaui-4.0.1-cp39-cp39-win32.whl (327.7 kB view details)

Uploaded CPython 3.9Windows x86

robotframework_flaui-4.0.1-cp38-cp38-win_amd64.whl (327.6 kB view details)

Uploaded CPython 3.8Windows x86-64

robotframework_flaui-4.0.1-cp38-cp38-win32.whl (327.6 kB view details)

Uploaded CPython 3.8Windows x86

File details

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

File metadata

  • Download URL: robotframework_flaui-4.0.1.tar.gz
  • Upload date:
  • Size: 299.6 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.1.tar.gz
Algorithm Hash digest
SHA256 e2108c5f708bef8d075ee4824b9962503f8136ddf199d8ca3ec8ddbbfd2cb187
MD5 e55d1f9954b4b527661ce7d4e4b64cb7
BLAKE2b-256 3e4b7ec75845258cc8e7a71b1db8e0f3c9838ce9ca094b142b78f0f8b84db312

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8bf344e2f0b17119d5fb11b83171e12a4ce768cdb85aabb355e87b613dc396c5
MD5 ba33c5a46ad37344fa3f40d366713ea5
BLAKE2b-256 0c45a17dcbe04e8ccc281ec08fd1a618434da61a005c61ffa4c8b8b664d66971

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 561cdd51806f951c67cbe4436a08b130c9fc871a69f86d3cfb6f2879ba419aba
MD5 2e947e19b31815da68403d1ebf5d4afd
BLAKE2b-256 1fce299c836a743fe62c3ad77a1232585f539c05481101ec403868a0b40663a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c57e45f81253c967912ad217acd08f287bc3c8131a944b785984fa857ac941c9
MD5 83043e303034ea8cc1eb53aed53c0e1c
BLAKE2b-256 f107d1a785648be541e53da70a0b562476514c36d72188995b0ead13fe4201bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 5e7819e4e9f9e7c14cfdf69f58cd8df60192f21180bc809e5a1aee716acd2630
MD5 1a011e79d238dde816e09611bbf337bc
BLAKE2b-256 33b86aaaf4eb36bcfcc632557786f187866c7b529825ec49c1770087761a9a4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ee881fb24f8ebe6d20168dd44ba00c30d8886e6001cb41dd95c238102cb29d53
MD5 f23c88fda31ccd8bbc1c003e1612ad3e
BLAKE2b-256 663f2e7f8c3851d69c58265d20ba2dfb2028683e6f1058512d048a649e12be6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 9692ba1a8898b284b1e5d68e62f733babd03959d11a9c21a5318e8a38c88496e
MD5 736912c7b65268fa28aec06c2b76e9cf
BLAKE2b-256 8a7128b4e5107e1e3a29eea659879ec149cea6504a4a0528c52f7093f6ab9cf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 93dbb3c400d39030b9241cfd0f6d583ebf52cfa946a29f0780b4f38bc8127409
MD5 6cd619a18088ec0657c1589316919247
BLAKE2b-256 3f69e63be0dd6e6d985fbe33a6904ec6c966428ca99be7acaa3b296de671fb63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 d67c150ccd847efa12ca9d7e5ab462c9dd3da264f29ee46ad6c19ca5ed22e969
MD5 7bc397f339b126c9c3ff167170e22912
BLAKE2b-256 99690e0fdd255285a2dc5e3003660ceef141ab77cffdd6bbea32dbd5dc3e849c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cdae244b481a639d255c8df45844d4400e27fab3457dae259b480d2291195931
MD5 7edf4eaad949791e20b8b6a8718714d7
BLAKE2b-256 aff57100717284aff000a36f55acd007b30889fce5d289ce4d065f4aa98ab9ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 a1c6458ec082079a51077cccd2319d834e4de9aa7d04bf329b135a80971c98f5
MD5 98b3f158582f0f888ee1bf0a7fba4d2a
BLAKE2b-256 7b2839f9887d504b8b99c9e08bb20bbdd65d764d6257182b70f4545a28d6fa9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 659891c8e59f2d6163f1a47fab5f926e9fafc1f74e83b0e7f0e6e45e261d5488
MD5 678ea242f773ccaec47670ff650b030e
BLAKE2b-256 72f83f749e547f0f042ecb0e1b9ca67cf4f4971898e122f6492ba423bbb712ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 8f7a0f81ed2b04b6970109bb3af3290ef63c3e8e92f446687608941b822584dc
MD5 40213cf96ce722d01d1b3d165e32a2e7
BLAKE2b-256 bed57daaf40eccca13634b1549e68ce637c15324d5a0a8c04475e04f64c17403

See more details on using hashes here.

Supported by

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