I'm using Microsoft's UIAutomation framework to retrieve information from an app that is built on the Chromium Embedded Framework. My code is failing to find the needed information, so I brought out inspect.exe to look at the tree. Sure enough, Inspect shows just a single descending line of "pane" elements, nothing like the actual application. My application mirrors that behavior.
However, Accessibility Insights, is able to walk the real tree and see all the widgets that I need to scan. Does anyone have any idea what Accessibility Insights is doing differently, such that they have success where I am failing and how I can duplicate that?
I took at look at Initialize UIautomation tree from an element whose ClassName is Chrome_RenderWidgetHostHWND. Accessability Insights, but that doesn't seem to show how the element was able to be chosen in the first place. I need to programmatically find the children, rather than relying on any user interaction.