The name of the current type (UIAButton, UIAEditBox, etc) as it is translated by QAliber engine.

Namespace:  QAliber.Engine.Controls
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public virtual string UIType { get; }
Visual Basic (Declaration)
Public Overridable ReadOnly Property UIType As String
Visual C++
public:
virtual property String^ UIType {
	String^ get ();
}

Examples

CopyC#
UIAButton button1 = null;
UIAPane win = Desktop.UIA[@"", @"Shell_TrayWnd", @"UIAPane"] as UIAPane;
foreach (UIControlBase control in win.Children)
{
    if (control.UIType == "UIAButton")
    {
        button1 = control as UIAButton;
        break;
    }
}
button1.Click();

See Also