Use windows invoking, to select the item.

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

Syntax

C#
public void Invoke()
Visual Basic (Declaration)
Public Sub Invoke
Visual C++
public:
virtual void Invoke() sealed

Examples

CopyC#
UIAListBox shortcutFolder = Desktop.UIA[@"Program Manager", @"Progman", @"UIAPane"][@"Desktop", @"SysListView32", @"1"] as UIAListBox;
   shortcutFolder.Select(0);
   UIAListItem sc = (UIAListItem)shortcutFolder.SelectedItems[0];
   //The invoke is selecting the shortcut (luanch the first short cut on dektop
   sc.Invoke();

See Also