Search

UI Automation tree is broken for Windows 8 Store application. by najaryan

Closed
as External Help for as External

1
0
Sign in
to vote
Type: Bug
ID: 779279
Opened: 2/15/2013 12:29:31 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
UI Automation tree is broken for Windows 8 Store application when trying to use Inspect tool from Windows SDK.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

.NET Framework 4.0

Steps to reproduce

1. Open inspect.exe from Windows 8 SDK.
2. Go to Windows 8 Start screen.
3. Move mouse over the "Store" tile.
4. Notice how Inspect tool correctly highlights the "Store" list item in the UI Automation tree.
5. Click the "Store" tile and let the store load.
6. Move mouse over the "Store" text or any other element on the Store screen.
7. Notice how Inspect tool DOES NOT highlight any item in the UI Automation tree.

More information:

Programmatically quering the UI Automation tree shows that the problem comes from the fact that UI Automation tree is broken for "Store" screen GUI objects, i.e. a parent of an element returned via IUIAutomationTreeWalker::GetParentElement() does not enumerate this element as it supposed to when queried via IUIAutomationElement::FindAll(TreeScope_Children,...) or via IUIAutomationTreeWalker::GetFirstChildElement/GetNextSiblingElement calls.

Product Language

English

Operating System

Windows 8

Operating System Language

English

Actual results

The GUI elements in the "Store" screen are recognized by Inspect tool as on-screen elements but are NOT shown in the UI Automation tree.

Expected results

The GUI elements in the "Store" screen are correctly recognized by Inspect tool and are shown in the UI Automation tree.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 2/19/2013 at 7:11 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 2/15/2013 at 12:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.