Advertisement

Element finding mechanisms in FlaUI | Windows Automation | FlaUI |

Element finding mechanisms in FlaUI | Windows Automation | FlaUI | In this video, I explained about "Element finding mechanisms in FlaUI"

FlaUI is a .NET library that helps with automated UI testing of Windows applications (Win32, WinForms, WPF, Store Apps, ...).

It is based on native UI Automation libraries from Microsoft and therefore kind of a wrapper around them.

FlaUI wraps almost everything from the UI Automation libraries but also provides the native objects in case someone has a special need which is not covered (yet) by FlaUI.

Some ideas are copied from the UIAComWrapper project or TestStack.White but rewritten from scratch to have a clean codebase.

The entry point is usually an application or the desktop so you get an automation element (like a main window of the application). On this, you can then search sub-elements and interact with them. There is a helper class to launch, attach or close applications. Since the application is not related to any UIA library, you need to create the automation you want and use it to get your first element, which then is your entry point.

There are multiple methods provided by FlaUI for finding an element, those are:
FindAllChildren
FindFirstChild
FindChildAt
FindAllByXPath
FindFirstByXPath
FindAllDescendants
FindFirstDescendant
FindAll
FindAllNested
FindAt
FindFirst
FindFirstNested..etc.

Github Link for this project:


Connect us @

Website -

Facebook Page -

LinkedIn -

Youtube -

Please Subscribe to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.

#hyrtutorials #flaui #windowsAutomation

FlaUI,windows automation,Desktop Automation,User Interface Automation,MSAA,UIA2,UIA3,Automation Testing,github,roemer,flaui.core,flaui.uia2,flaui.uia3,inpect,uia,uiautomation,automation element,UIA2 Managed,UIA3 Interop,microsoft,wpf,winforms,ui-automation,framework,dotnet,qa,testing,testing-tools,automation,automation-ui,user-interface,gui,h y r tutorials,hyr tutorials,AutomationElement,Automation Element,user interface automation,

Post a Comment

0 Comments