Search for a control within requested scope relative to this control, and the requested property value.
Namespace:
QAliber.Engine.Controls
Assembly:
QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Return Value
UIControlBase with the matching property found withing the expected scope or null if control not found
Examples
CopyC#
UIAPane programManager = Desktop.UIA[@"Program Manager", @"Progman", @"UIAPane"] as UIAPane;
UIAListItem myDocs = programManager.Find(
System.Windows.Automation.TreeScope.Descendants,
"Name", "My Documents") as UIAListItem;
if (myDocs != null)
myDocs.DoubleClick();
else
MessageBox.Show("My Documents Not found");
See Also