Interface IComboBox
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
Items
The list of the items in the combo box.
ReadOnlyCollection<IComboBoxItem> Items { get; }
Property Value
SelectedItem
The selected item.
IComboBoxItem SelectedItem { get; }
Property Value
Methods
GetItem(string)
Returns the item specified by the item text.
IComboBoxItem GetItem(string item)
Parameters
itemstringThe 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
itemIComboBoxItemThe item to select.
Select(string)
Selects the item from the combo box list by name.
void Select(string item)
Parameters
itemstringThe text of the item to select.
Select(uint)
Selects the item from the combo box list by index.
void Select(uint itemIndex)
Parameters
itemIndexuintThe 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
itemstringThe SAP shortcut key representing the item to select.
SetFocus()
Sets focus on the combo box.
void SetFocus()