'
seems to me that this code should return all the edit controls. However it returns nothing at all. Any idea where up?
For Each ctrl As AutomationElement In root.FindAll(TreeScope.Descendants, New PropertyCondition(AutomationElement.ControlTypeProperty, ControlType.Edit))
Next