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-3.7.0.tar.gz (275.5 kB view details)

Uploaded Source

Built Distributions

robotframework_flaui-3.7.0-cp313-cp313-win_amd64.whl (304.8 kB view details)

Uploaded CPython 3.13 Windows x86-64

robotframework_flaui-3.7.0-cp313-cp313-win32.whl (304.8 kB view details)

Uploaded CPython 3.13 Windows x86

robotframework_flaui-3.7.0-cp312-cp312-win_amd64.whl (304.8 kB view details)

Uploaded CPython 3.12 Windows x86-64

robotframework_flaui-3.7.0-cp312-cp312-win32.whl (304.8 kB view details)

Uploaded CPython 3.12 Windows x86

robotframework_flaui-3.7.0-cp311-cp311-win_amd64.whl (304.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

robotframework_flaui-3.7.0-cp311-cp311-win32.whl (304.8 kB view details)

Uploaded CPython 3.11 Windows x86

robotframework_flaui-3.7.0-cp310-cp310-win_amd64.whl (304.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

robotframework_flaui-3.7.0-cp310-cp310-win32.whl (304.8 kB view details)

Uploaded CPython 3.10 Windows x86

robotframework_flaui-3.7.0-cp39-cp39-win_amd64.whl (304.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

robotframework_flaui-3.7.0-cp39-cp39-win32.whl (304.8 kB view details)

Uploaded CPython 3.9 Windows x86

robotframework_flaui-3.7.0-cp38-cp38-win_amd64.whl (304.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

robotframework_flaui-3.7.0-cp38-cp38-win32.whl (304.7 kB view details)

Uploaded CPython 3.8 Windows x86

File details

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

File metadata

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

File hashes

Hashes for robotframework_flaui-3.7.0.tar.gz
Algorithm Hash digest
SHA256 0bb98c432947872187b0061a04d970c10de0a4ebaa9d8fc741e83244106acced
MD5 ce27f1687a9d32c81dec10db6a6bf7d8
BLAKE2b-256 d06d1f32d615ecfd50af23332bf4058ea8edc9e5c4453db43cdf6a5d8ec271aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e04fb139edd3804ab4b5b8790974d5e1a3e3eeedc2141b893fa7b85aa03b4cba
MD5 0944d542bfbebaee4ca2374a59b2f5ea
BLAKE2b-256 b9ed63f83b4647554460ee195979a6c917d2ce3a7c2a4f0cb26e232b5c3279f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 12d7f44c02565fa1b038125321844921b7f805460e4fc924ac0909953dbf068a
MD5 beafcfb1a005225b8723f989995f8f0d
BLAKE2b-256 f56a56908b9b0db3d4d168b32f077d988bb191714c9af2bcf26960353071a339

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 20845b6baba5b3d92cf320b4cf3cac1ab523120ebc45e873754cfdaba4c404a0
MD5 b0308093b9cd94e3a18c6fd4a8b72c00
BLAKE2b-256 823cc67cbc027f6580ee9c2d5eff38609ec314ceafd83921130fe63f36de3032

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 55df54f575bbea1c4e72c4a26667fc7a5f0158c6a6a77838961442f234363efc
MD5 1461294a4127985490e9dc0fd6ee28d5
BLAKE2b-256 42d6c0ee0c39c1424110f2456c6df0e6af7a0acf022731f4b8e497794afa7f1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 990bdd3d1b745aa530e6c2e0538be699066e08ffc82ce62c652d96fb3924b0c1
MD5 bd85b31ba8b6183c5d9704f27308bb1b
BLAKE2b-256 5b4de48629fc2a63342ac6028febf50116cbeb77bbed60025dd6e7b8befb3435

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 e2797561fff2b10e1aca824a7d54a1a2970cbf8f488c957eafa49506fd9e16e9
MD5 b7b8787078062fc79a4960ebde331d5f
BLAKE2b-256 2b4a2807268ea3d6b98ae090f67191f3b8fb05ed35e6bce62302944c6157f40f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c217e8bb708de8ef46d44888d14489a8f3b0956c44c09f15dc7bb936de98b052
MD5 21c5b3cdda96e49ca98e34208d92b8a2
BLAKE2b-256 f1f4563747c6d7050744647b4afa587b34ef3a4d526c4810e1edc0c583b783fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 e8b9fd0ba53cd67a4535b31894b74a805129d805ac1ee3f8a48a91350f4db01e
MD5 0bcc4d9d484d6108ceb062e743c8da7f
BLAKE2b-256 53a328e2829b721673ea37c49f0f0930000c501732e0f352b508bae30b78cc17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a4ec1b8e3e477f7bc4831f010e1656a444084c268999e4fccbabbaa6b9e3697f
MD5 c13e25ec676b7995b750eaaadb63708a
BLAKE2b-256 31209e68182b202afe6695752d3bfaf1ce1e136cf957b415d11a18a8cebfb4b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 cdd79d7d7e705f712fa11c3bf5f8411ce56ce6d86998dddbc40410e8bf70e19e
MD5 3f49546f352313d270bc9d21cf6efde9
BLAKE2b-256 a74c690d192c3c96ebbca00a12b5ad9215465f02fb9284c5a262473d6883a1aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7e92f793ddde85330e986f27d370ac9f2d4d01a3770b555a78c437b1891f7397
MD5 2060665e0f4f6e421898bae15f26b10c
BLAKE2b-256 756afb3740ac12a2a30045ae35f34002cff4d9ff25d834e450bdcaa21d2c34b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-3.7.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a659d9b54fcba60fe2bb8f9a229e7154a732027bffad26f66374cc6ee638a401
MD5 e86fb188fb6a4ef6f0151ce92fca22e3
BLAKE2b-256 069b4bc9007a916e6d64b9ca3157041ac3ba9da31c83d46c740d12d8c85fc52a

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