|
-
September 6th, 2010, 04:17 PM
#1
AutomationElement
hello,
why is the following piece of code not working?
AutomationElement element = null;
AndCondition conds = new AndCondition(
new PropertyCondition (AutomationElement.ProcessIdProperty, myProcess.Id),
new PropertyCondition(AutomationElement.NameProperty, "Dialog Title 2"));
while (element == null)
element = AutomationElement.RootElement.FindFirst(TreeScope.Children, conds);
regards,
ger
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|