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.2.tar.gz (300.2 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.2-cp313-cp313-win_amd64.whl (328.2 kB view details)

Uploaded CPython 3.13Windows x86-64

robotframework_flaui-4.0.2-cp313-cp313-win32.whl (328.2 kB view details)

Uploaded CPython 3.13Windows x86

robotframework_flaui-4.0.2-cp312-cp312-win_amd64.whl (328.2 kB view details)

Uploaded CPython 3.12Windows x86-64

robotframework_flaui-4.0.2-cp312-cp312-win32.whl (328.2 kB view details)

Uploaded CPython 3.12Windows x86

robotframework_flaui-4.0.2-cp311-cp311-win_amd64.whl (328.2 kB view details)

Uploaded CPython 3.11Windows x86-64

robotframework_flaui-4.0.2-cp311-cp311-win32.whl (328.2 kB view details)

Uploaded CPython 3.11Windows x86

robotframework_flaui-4.0.2-cp310-cp310-win_amd64.whl (328.2 kB view details)

Uploaded CPython 3.10Windows x86-64

robotframework_flaui-4.0.2-cp310-cp310-win32.whl (328.2 kB view details)

Uploaded CPython 3.10Windows x86

robotframework_flaui-4.0.2-cp39-cp39-win_amd64.whl (328.2 kB view details)

Uploaded CPython 3.9Windows x86-64

robotframework_flaui-4.0.2-cp39-cp39-win32.whl (328.2 kB view details)

Uploaded CPython 3.9Windows x86

robotframework_flaui-4.0.2-cp38-cp38-win_amd64.whl (328.2 kB view details)

Uploaded CPython 3.8Windows x86-64

robotframework_flaui-4.0.2-cp38-cp38-win32.whl (328.1 kB view details)

Uploaded CPython 3.8Windows x86

File details

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

File metadata

  • Download URL: robotframework_flaui-4.0.2.tar.gz
  • Upload date:
  • Size: 300.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.2.tar.gz
Algorithm Hash digest
SHA256 5f41ed08110324279fd561aea3e20a416cfa07826917cc99c44a4f8777dc7eb4
MD5 a927c3642e0ea9d54a951f519dbe9ae7
BLAKE2b-256 edb53f70416e17173c67aadafb3a745e9d8b53741d2d1c7370ca4a40705f5432

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b9661f18d6e2849bfc980f62d79591b515577971136284bd0c6134a55c9715b6
MD5 973a648710eb63817cb3cc1bb2ae7387
BLAKE2b-256 f9eaf41ea2d47bac8d5f3d94746e2b7adb6b5d1128db9c2ee9562b411d67ebb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 06326998614379b3b9a53ebc072294dc229fe5d0618dd4179888288251b6a5ad
MD5 dc72e6a29cbcdc96d9192ad7479b4b60
BLAKE2b-256 0aafe05f088b21d5b80ccb3cd7f665994cfa93926fa66d410557b3c07b7afed1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e63b082ba1e581ed0d6d8966f5b81d1bc45715c02dc9c69ab1dbc1504abc3899
MD5 412532564300c1bcbff9c16357603c40
BLAKE2b-256 117d7bf5700c3246c3430addd8a2104de40497db0d6498feb1369ee57b67e3e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 5105b92cf3eb4724a591a2e3c6b953a0d95be7d8b516a183bb0c58b5aced6891
MD5 b66c6b621250ce3c020f397e6eb52c35
BLAKE2b-256 419b27eae5c0846a2be5575cc739836346e0434cde06e973883e44ba521c3e4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2664f4ed8052cde09b15e5ca2049cab12c4489184d047148e1cc4c383ae98dad
MD5 dad28e040cee812b661286b5ba9a9700
BLAKE2b-256 63d3999cd6f37573b670110042b4281ed6fc81ae94d50ce62bf16f7e8c3b91fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 39e2c3224ad9031d0d3d512a62991cdaec6838516d31f8095a73bc90fd5d97f2
MD5 cf41546e1a3b841ee1a7bece9904584c
BLAKE2b-256 cd9caa4984b37e4cd5e89fbd6d78edc0fb34257b3f6fef5899d327a029b77291

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4a1c646e82023bc700a7e9be3be5d448af1a2587348f891e7979176c5148b36e
MD5 31adb30f58e4f4a06012203076e09b7c
BLAKE2b-256 8ac21a64f81919d17dba3051e57b7d182a885f4f6f96d5741190bd3da63d6520

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 96a5b893a55d1b3587b6bf76aac3b243cca985d449f3ae44399f91761eb929cc
MD5 f34feaf3c4cb6a4a24fe5d0e0ae30a2f
BLAKE2b-256 83cf35fbbfc9199214125c964b6ae77dbcb085ef4e55859a3f67303365b3a45f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 03d60416b513dc1c982ede7569c8d188dfe4c29e11e740dc047fcd7241e07e98
MD5 28eca4889af49dbdc2dae9d1ed3c476f
BLAKE2b-256 5c5462e418017768707cadd5e9344164f8224417a0829686a359e2156c823bff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 496e458e4d808d4b8f2611a49a614a695c47833470c9a7089fde8c1b01a27e00
MD5 3263a3dc0efa7eabe4be0e52f11c6166
BLAKE2b-256 c366819a10679421ae58f762ee8c35de01417015b81325c66188c507f2f353f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 028856cd986f08c1563941f2c543f0ec2c0b5aa9091c1669df17f6b9eba1f3d0
MD5 d31dd4cb1a3ef057b459d75ab422ce97
BLAKE2b-256 4f2064c899b7a999e86217adf54fbd55af084da2072caff80a89bc6d53f48414

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_flaui-4.0.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 9f25ffadf059817d7189c047dd4ceeed924c14a44aac83f2eff59f2acbe54c1b
MD5 d313a60223d5cb1ce207c8d12d59755e
BLAKE2b-256 7a178d3af829445ca982e67931a4d366f75f89fda9f20ffe6777a0113bcd46ee

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