Condition Condition = new AndCondition(new PropertyCondition(AutomationElement.ProcessIdProperty, processID), new PropertyCondition(AutomationElement.AutomationIdProperty, configurationAllList.automationId)); AutomationElement selectedElement = AutomationElement.RootElement.FindFirst(TreeScope.Ancestors | TreeScope.Children | TreeScope.Descendants | TreeScope.Element | TreeScope.Parent | TreeScope.Subtree, Condition);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)