Table of Contents

Interface IComboBox

Namespace
HP.LFT.SDK.SAP.GUI
Assembly
HP.LFT.SDK.dll

A combo box in a SAP GUI for Windows application.

public interface IComboBox : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider
Inherited Members
Extension Methods

Properties

AttachedText

The static text attached to the combo box.

string AttachedText { get; }

Property Value

string

Items

The list of the items in the combo box.

ReadOnlyCollection<IComboBoxItem> Items { get; }

Property Value

ReadOnlyCollection<IComboBoxItem>

SelectedItem

The selected item.

IComboBoxItem SelectedItem { get; }

Property Value

IComboBoxItem

Methods

GetItem(string)

Returns the item specified by the item text.

IComboBoxItem GetItem(string item)

Parameters

item string

The text of the item.

Returns

IComboBoxItem

the specific item.

Select(IComboBoxItem)

Selects the item object from the combo box list.

void Select(IComboBoxItem item)

Parameters

item IComboBoxItem

The item to select.

Select(string)

Selects the item from the combo box list by name.

void Select(string item)

Parameters

item string

The text of the item to select.

Select(uint)

Selects the item from the combo box list by index.

void Select(uint itemIndex)

Parameters

itemIndex uint

The 1-based index of the item to select.

SelectKey(string)

Selects the SAP shortcut key representing an item in the combo box list.

void SelectKey(string item)

Parameters

item string

The SAP shortcut key representing the item to select.

SetFocus()

Sets focus on the combo box.

void SetFocus()