Package: robotframework-flaui
Robotframework-FlaUI LibraryLicensePython Builds (x86)Python Builds (x64)TestsPythonRobotframeworkPyPiIntroductionRobotframework-FlaUI is a keyword based user interface automation testing library for Windows applications like Win32, WinForms, WPF or Store Apps.
It's based on theFlaUIuser interface automation library.InstallationInstall the latest stable release:pip install --upgrade robotframework-flauiDependencies and python supportThe robot framework FlaUI is supposed to support the current Python 3 versions.Required dependenciesSee dependencies fromDocumentationPython.Net Wrapper IssuesRobotframework-Flaui 1.xWith 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#1389If 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.2Robotframework-Flaui 2.xSometimes an AccessViolationException wil be occure on latest Python.Net Version v3.0.1For more information see the issue#1977A workaround is to set Python's memory allocation environment variable "PYTHONMALLOC=malloc"DocumentationKeyword documentationXPath explanationRFHUB2RFHUB2is 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 ToolsThere are various tools around which help inspecting application that should be ui tested or automated.Some of them are:FlaUI InspectMicrosoft Accessibility Insights For WindowsVisualUIAVerifyInspectUISpyExamplesExamples of use can be found in the atests folder.DevelopmentPreconditionsInstallPython, if not already installed.Only Python 3 is supported.Install Robotframework and Python.NetDependency installation by Keen.bat.\keen.bat dependencyTest-ApplicationsTwo 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 locallyUse the provided 'Commander Keen' file:.\keen.bat testThe script automatically builds the:Library as a wheel file stored in the Dist folderTest documentation located in the Docs folderAutomatically installs and runs the robot tests of the library and saves the test results in the Result folderFollowing arguments are supported:.\keen.bat <argument>cleanup - Removes all build foldersdependency - Install all python dependenciesbuild - Build wheel fileinstall - Install wheel filetest - Test robotframework-flaui (UIA2 and UIA3)test_uia2 - Test UIA2 interface usagetest_uia3 - Test UIA3 interface usagepylint - Static code analysis for PEP 8. Generates pylint.html file in results.AcknowledgementsFlaUIThanks to@Roemerfor the passion to create and maintain the FlaUI project.Thanks toFlaUIdevelopers and maintainers for this project.