Retrieve names of all the UIATabItems in this UIATab group

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

Syntax

C#
public string[] Items { get; }
Visual Basic (Declaration)
Public ReadOnly Property Items As String()
Visual C++
public:
virtual property array<String^>^ Items {
	array<String^>^ get () sealed;
}

Examples

CopyC#
  //Open explorer (by defualt goes to my documents, and open folder options dialog.
System.Diagnostics.Process recoderProc = System.Diagnostics.Process.Start("explorer");
UIAWindow explorerWin = Desktop.UIA [@"My Documents", @"ExploreWClass", @"UIAWindow"] as UIAWindow;
UIAMenuItem @tools = explorerWin[@"", @"ReBarWindow32", @"UIAPane"][@"Application", @"ToolbarWindow32", @"MenuBar"][@"Tools", @"", @"Item 32960"] as UIAMenuItem;
@tools.Click(MouseButtons.Left, new Point(23, 6));
UIAMenuItem @folderOptions = Desktop.UIA[@"Menu", @"#32768", @"UIAMenu"][@"Folder Options...", @"", @"Item 41251"] as UIAMenuItem;
@folderOptions.Click(MouseButtons.Left, new Point(37, 5));

UIATab tabs = Desktop.UIA[@"My Documents", @"ExploreWClass", @"UIAWindow"][@"Folder Options", @"#32770", @"UIAWindow"][@"", @"SysTabControl32", @"UIATab"] as UIATab;
foreach(string tabsName in tabs.Items)
    MessageBox.Show(tabsName);

See Also