microsoft-ui-automation Questions

6

Solved

I can see that an element with specific Automation ID has children in the Inspect tool: But when I try to retrieve them like this: AutomationElement aPane = mainWindow.FindFirst(TreeScope.Subtr...
Neoplasticism asked 6/1, 2013 at 21:44

2

I'm having trouble listening to automation events from the inside a process. I've written a sample below where I have a simple WPF application with a single button. An automation handler is added f...
Sandman asked 18/1, 2017 at 13:16

3

I am working on an automation project, in which I need to capture the activities [ application launched, data entered, input type etc.] user performs on a desktop. I came across Microsoft UI Automa...
Weary asked 10/11, 2017 at 6:26

0

In Windows Forms we are using Infragistics UltraWinTree control. Goal : collapse all the tree items using UI Automation(UIAutomationClient.dll). For more details about the UI Automation please ...
Haploid asked 12/5, 2017 at 12:22

2

I am trying to do automated testing of my application via UI Automation (mainly using TestStack.White to provide a friendly interface; it uses System.Windows.Automation as a back-end). I have a tab...

1

Solved

I really want to know, how Inspect.exe gets it's UI-Elements, because it gets by far more elements than UISpy (Both available in Microsoft Windows SDK 7). 1) I think UISpy gets it's elements with ...

2

Solved

I try to write System Tests in NUnit and I want to Invoke the UI using the UI Automation from ms. For some reason my Invokes fail - I found some hints online that got me to a state where I can wri...
Blalock asked 6/10, 2016 at 13:50

3

Solved

I am using testStack/White library to automate an application. Right now its working fine but it throws exception if the application is already running. Is there any way to put a check e.g if appli...
Densimeter asked 5/9, 2014 at 1:30

2

Solved

While working on automating an Infragistics UltraTree control in a C# Winforms application I found that the UltraTree implemented the AccessibleObject model (MSAA). I was able to successfully grab ...
Morrell asked 10/9, 2015 at 14:7

1

It seems that this used to work, but no longer does. Perhaps there is some toggle somewhere that enables it? Using this code private static async Task<string> getText(double x, double y) { ...
Petulant asked 17/9, 2015 at 16:39

4

Solved

We have been working with the MS UIA framework and noticed what appears to be a significant slowdown when finding collections of objects in Windows 10 / .NET 4.6. When testing AutomationElement.Fi...
Raver asked 6/10, 2015 at 12:41

2

We are using Microsoft's UIAutomation framework to develop a client that monitors events of a specific application and responds to them in different ways. We've started with the managed version of ...
Quillen asked 2/9, 2015 at 8:4

4

Solved

I'm very much new to Test Automation kind of thing. Recently I've been assigned to a project where I have to write an application (or, a script may be, I'm not sure) that will automate the UI testi...
Encephalography asked 5/2, 2011 at 19:39

1

Solved

I'm trying to read out the TITLE & URL from the Microsoft EDGE Browser. Doing this with System.Windows.Automation most preferably since the code base already uses this for other problems. Is ...
Mouldon asked 25/8, 2015 at 13:10

2

Solved

On our application we have a clickable label which will pop up another window. I have been reading through the Microsoft Automation UI documentation, and can't find a way in which I'm able to click...
Espionage asked 20/7, 2015 at 9:9

1

Solved

I've been banging my head against this problem for 3 days and haven't been able to find an answer. I've got an application written in WPF (dot Net 4.5) and I'm working with Teststack.White trying ...
Wellappointed asked 12/5, 2015 at 17:52

2

Solved

Our VCL Delphi application has a number of grids that we need to start to interact with via UIAutomation. There are a number of issues, not least that the TStringGrid doesn't implement any of the I...
Expiation asked 24/4, 2015 at 7:55

1

I'm currently working on automatic installation of GUI application using library UIAutomation PS Extensions (https://uiautomation.codeplex.com/). It works pretty well in cases, when I run it agains...

5

We are developing a WPF 4.0 application for internal use. On some clients, we are experiencing huge performance issues due to UI automation (these clients have software installed like tablet serv...
Dupaix asked 25/6, 2013 at 12:36

1

I am developing an app in C++ that uses UIAutomation to receive notification of significant events related to user interaction. I have tried anevent handler by calling AddAutomationEventHandler to ...
Karrah asked 26/11, 2012 at 22:12

1

I have a C# application, which uses Microsoft UI Automation functionality, e. g. a call like AutomationElement.RootElement.FindFirst(...). Now I need to do the same thing (use MS UI Automation) in...
Jordonjorey asked 15/10, 2012 at 11:0

3

Solved

I am trying to find all desktop windows using .NET UIAutomation OR White framework. I tried : 1.) AutomationElement rootElement = AutomationElement.RootElement; var winCollection = rootElement....
Psychiatry asked 17/4, 2012 at 12:27
1

© 2022 - 2024 — McMap. All rights reserved.