Questions tagged [uia]

41 questions
7
votes
1 answer

What is the difference between IAccessible, IAccessible2, UIAutomation and MSAA?

I am starting work on accessibility and I am a bit confused by the different technologies I have encountered. What is the difference between IAccessible and IAccessible2? I originally thought IAccessible2 may be a newer version of IAccessible, but…
Anna
  • 93
  • 7
6
votes
0 answers

Is UI Automation really a good choice for the WPF application testing?

When talking about automating the UI tests conversation always ends up with the UI Automation. Is it the only option? I personally don't like it for one main reason - complexity. It is designed to be universal for all the types of applications.…
Pasho
  • 488
  • 3
  • 15
4
votes
1 answer

Is there any internal timeout in Microsoft UIAutomation?

I am using the UI Automation COM-to-.NET Adapter to read the contents of the target Google Chrome browser that plays a FLASH content on Windows 7. It works. I succeeded to get the content and elements. Everything works fine for some time but after…
Patrik
  • 1,286
  • 1
  • 31
  • 64
4
votes
2 answers

Mono didn't find UIA Bridge, but the packages are already installed

i was searching for a long time now but cant find a solution for my problem: i compiled a c# project successfull (with monodevelop) and when i try to run it with >mono fubar.exe i get the following output: Error loading UIA bridge (UiaDbusBridge,…
peter
  • 41
  • 2
2
votes
0 answers

pywinauto print_control_identifier() shows the element but cannot get it with ElementNotFoundError

I was trying to use child_window() func to get an element under a parent node but get not found error. Here is the print_control_identifier() output of the parent: >>> txb_custom.print_control_identifiers() Control Identifiers: Custom - '' …
user3153765
  • 373
  • 4
  • 14
2
votes
2 answers

Which Accessibility APIs can be used to enable Chrome and Firefox? UIA does not work well and breaks often

We are writing something like an Assistive User Agent, which reads screens using Accessibility API and provides help to users. UIA does not seem to be natively supported by Chrome and Firefox. This is causing our implementation to break when Chrome…
Satish Rao
  • 31
  • 6
2
votes
2 answers

UIA InvokePattern.Invoke() throws exception when system is locked. (in .NET 4.5.2)

A call to Invoke() method(from System.Windows.Automation.InvokePattern) fails as soon as the system is locked. This behavior is seen after migrating our project to .NET 4.5.2. Whereas in .NET 4.0 the call used to work even when system was…
SPK
  • 21
  • 2
2
votes
2 answers

System.Windows.Forms.ListView Check box is not recognized by UIA verrify

I am quite new to UI Automation and UI Verify tool. In our application, we are using System.Windows.Forms.ListView with CheckBoxes property set to true. The CheckBoxes property allows you to display a check box next to each item in the list. This…
2
votes
2 answers

Automating a Virtualized Control with UIA

I'm trying to automate a certain control (Telerik's Rad GridView) with Microsoft's UIA. I have created a wrapper class that exposes several helper methods for my test to use - the most prominent example being a GetAllRows() method that returns a…
Tal Bronfer
  • 759
  • 5
  • 18
2
votes
1 answer

UIA: Get ControlType from control type name (string)

Using Microsoft UI Automation. I have a string which represents UIA control type, like "Window" or "Button". I would like to get a ControlType object which fits this string. How to do it? Is some enumerations exists which represents all the UIA…
trickbz
  • 945
  • 1
  • 9
  • 25
2
votes
3 answers

How to get all the AutomationIDs of a WPF application in a file?

In automation of a WPF application (using UI Automation; VSTS 2010), we were adding all the Automation IDs in a Resource File manually and then access it one by one. Considering the application can expand any time, manually adding these IDs can…
Srees
  • 21
  • 1
1
vote
0 answers

Microsoft UI Automation framework in Javascript

The current codebase completely relies on C# using .NET. https://learn.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-overview Is there any npm library that allows to use microsoft UIA (user interface automation) framework using…
1
vote
0 answers

How to add the UIA ExpandCollapse pattern in Qml

I'm using http://accessibilityinsights.io/ to make sure my QML application passes Microsoft requirements for accessibility. There's only one error that I couldn't resolve. Qml ComboBoxes don't have the ExpandCollapse pattern. Code to…
MGamsby
  • 386
  • 4
  • 13
1
vote
0 answers

Pywinauto: Tree information lost after close of system dialog

I have a menu window of a propietary uia application which raises a subwindow. This subwindow raises a system file dialog window. All three windows have a full tree information which I can display by dump_tree(). When the system file dialog window…
1
vote
1 answer

How to identify if an application is using Win32/UIA backed to start the same in pywinauto with right backend settings.?

I am using pywinauto to test one of the application which in turn uses multiple application. Is there a mechanism where in i can query and check what the specific backend application is developed with, win32/UIA so that backend=XX can be passed on…
kbk
  • 555
  • 2
  • 8
  • 20
1
2 3