Open the combobox

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 Expand()
Visual Basic (Declaration)
Public Sub Expand
Visual C++
public:
virtual void Expand() sealed

Examples

The example will luanch IE (wrote for IE7, assuming tabs), expand the combo and using keybord will select the 3rd item.
CopyC#
System.Diagnostics.Process.Start("IExplore");
System.Threading.Thread.Sleep(3000);
UIAPane IEWin = Desktop.UIA[@"Windows Internet Explorer",true][@"", @"ReBarWindow32", @"UIAPane"][@"", @"Address Band Root", @"UIAPane"] as UIAPane;
UIComboBox addressCombo = IEWin[@"Address", @"ComboBox", @"UIComboBox"] as UIComboBox;
addressCombo.Expand();
System.Threading.Thread.Sleep(3000);
IEWin.Write("{DOWN}{DOWN}{DOWN}{ENTER}");

See Also