Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
UI Automation: Can't find field chooser
posted

Hi,

I'm trying to use Microsoft UIA to show and hide fields on the UltraGrid.

I can show the field chooser (by simulating a mouse click on the field chooser button).  But I am having trouble retrieving the AutomationElement for the field chooser window.

The problem is that it doesn't appear in the Automation Elements Tree.  Neither if I try viewing the tree in Visual UI Automation Verify or if I try and find the field chooser using UIA functions.

If I use focus mode to find the control from the Visual UI Automation Verify tool then it shows it on the tree, under the same form as the grid.

Do you have any idea how to access the field chooser using UIA?

Thanks in advance.