Questions tagged [ui-spy]

The UI Spy tool enables developers and testers to view and interact with the user interface (UI) elements of an application.

By viewing the application's UI hierarchical structure, property values, and raised events, developers and testers can verify that the UI they are creating is programmatically accessible to assistive technology devices such as screen readers.

UI Spy uses the UI Automation libraries. UI Automation is the new accessibility framework for Microsoft Windows.

The UI Spy tool is obsolete and no longer available. Developers should use other tools such as Inspect.exe that are available in the Windows Software Development Kit (SDK). For more info, see Testing Tools.

source: https://msdn.microsoft.com/en-us/library/ms727247.aspx

18 questions
17
votes
1 answer

What's the difference of UISpy.exe and Inspect.exe? (From Microsoft Windows SDK)

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 UIAutomation library, right? (Tried it with…
user6767845
9
votes
1 answer

Uispy Return's Value as "?"

i am using UISpy to detect the outlook TO Address Field but uispy return the Values as "?" If it's normal text then Uispy detects correctly it's showing the To Address. the problem is when we enter any email address in To address field its…
Ravi Kanth
  • 1,074
  • 11
  • 32
5
votes
2 answers

How to access elements that UI Spy doesn't see to automate a win32 application with C#

I'm doing a C# windows form application that automate another win32 application using System.Windows.Automation classes. There are some elements that I need to read or interact but UISpy don't find these fields, it only found the parent container…
rcarubbi
  • 123
  • 1
  • 10
2
votes
0 answers

UIAutomation AutomationElement force refresh .current and all descendants

I would like to refresh the tree structure of the top level automationelement object (the desktop element) and all of its descendants. The problem I have ran into is a particular program I am testing discards and rebuilds its GDI objects in a…
Abdul Hfuda
  • 1,435
  • 12
  • 24
2
votes
1 answer

Detect when Nuance Dragon is invoked

I need to know when Nuance Dragon (Naturally Speaking) for Windows has been invoked by a user. On the Windows platform, the Dragon Assistant pops up after the user says "Hello, Dragon." A small window pops up with the Dragon icon and some text…
gonzobrains
  • 7,198
  • 11
  • 73
  • 126
1
vote
1 answer

UISpy and UIA Verify showing different property values on the same program

I have a program I'm testing that has its close button enabled at one point and disabled at another. UISpy shows 'isEnabled' at both points to be 'true' UIAVerify shows 'isEnabled' at the first point to be 'true' and at the second to be 'false' The…
Abdul Hfuda
  • 1,435
  • 12
  • 24
1
vote
0 answers

Winium- Locate elements not having name or automationId for desktop automation

I am working on winium for a new use case regarding desktop automation. The problem I face is to identify those elements which don't have a name, class name or automation ID. I am using Inspect.exe and UISpy to locate elements on the desktop. I…
1
vote
2 answers

How to identify elements on Java swing application?

I am trying to automate java swing application using Winium. To identify properties of elements I have used UISpy.exe and Inspect.exe. But both are failed to identify elements on my swing application. However, both are working when I am trying to…
user9640289
1
vote
0 answers

.NET - Protecting the Flowdocument from the System.Windows.Automation

How can I view FlowDocument read-only, that make it impossible to access the content of the document by System.Windows.Automation? There is a small program that uses Automation and can display the text of the document, whether it belongs to avoid?
codeDom
  • 1,814
  • 10
  • 26
1
vote
1 answer

How do I show ItemStatus in UI Spy?

How do I show the ItemStatus property of an AutomationElement in UI Spy?
Anthony Mastrean
  • 20,318
  • 20
  • 92
  • 173
0
votes
1 answer

UI Automation Verify v/s UISpy - The way they find UI elements

I am trying to automate UI interactions for a C++ MFC application. I tried to find elements' automation ID using UISpy and UIAVerify tools. I am on win2k3. There is a tab control, the automation ID of which is visible to UISpy but not to…
user96403
  • 427
  • 1
  • 11
  • 22
0
votes
1 answer

Does UI Spy produce a log file?

I had UI Spy (UISpy.exe) crash. I closed the program and didn't even look at the stack trace in the error message. Does UI Spy produce a log? Is there a way to retrieve this previous failure if there is not a log file? I checked the system event…
Schlapppy
  • 3
  • 2
0
votes
0 answers

Java swing test automation ( winium , uispy)

Can we use winium along with uispy for test automation for a java swing desktop application?
Lochana R
  • 25
  • 4
0
votes
1 answer

How to locate Automation Ids (winium automation) in Chrome legacy window of a desktop application

I'm trying to automate an application that can be hosted on web browsers (Edge,chrome,firefox) and on desktop (windows 10) as well. For browser application I have used selenium tool for automation. In case of desktop application I'm trying to use…
Shyam5674
  • 1
  • 2
0
votes
1 answer

TestStack/White API

I'm trying to automate an application using TestStack/White API (Which is based on Microsoft's UI Automation library). The problem is the following: At a certain point of automation, I have to deal with an "Dialog" window, which looks to be a…
1
2