I am trying to automate one application containing WPFTree. Each tree noce has 2 text boxes. 1 for the node name (which I get) and other to display count against it.
This 2nd text box I am unable to get. We can use UI Automation for this.
Can anybody tell me how? I tried following code :
var children = wpfNode.AutomationElement.FindAll(TreeScope.Children, new PropertyCondition(AutomationElement.ControlTypeProperty,