Gets the first child with the given name.
Namespace:
QAliber.Engine.Controls
Assembly:
QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable ReadOnly Default Property Item ( _
name As String _
) As UIControlBase |
Return Value
If the name was found, the first control found with that name is returned, otherwise null
Examples
CopyC#
UIAButton button1 = null;
UIAPane win = Desktop.UIA[@"", @"Shell_TrayWnd", @"UIAPane"] as UIAPane;
button1 = win["Start"] as UIAButton;
button1.Click();
See Also