UIAComboBox¶
UIAutomation UIAComboBox.
Extends UIAObject
Extends SeSSimulatedObject
Behavior Pattern: UIAutomationComboBoxBehavior
Property Summary¶
Property | Description | Getter | Setter |
---|---|---|---|
ItemNameByIndex | Returns item name by its index. | GetItemNameByIndex | |
SelectedIndex | Index of the selected element of the object. | GetSelectedIndex | SetSelectedIndex |
Text | Text of the object, 'false' if text can not be read. | GetText | SetText |
Action Summary¶
Action | Description |
---|---|
DoSelectItem | Selects an item of this object. |
DoSetText | Set text into combobox with an edit box. |
Property Detail¶
ItemNameByIndex¶
Returns item name by its index.'false' if name is not found.
Getter Parameters:
Name | Type | Description |
---|---|---|
index | number | Index of the item |
Type: string|boolean
Accessors: GetItemNameByIndex
value = SeS('SomeUIAComboBox').GetItemNameByIndex(index)
SelectedIndex¶
Index of the selected element of the object.
Type: number
Accessors: GetSelectedIndex, SetSelectedIndex
value = SeS('SomeUIAComboBox').GetSelectedIndex()
SeS('SomeUIAComboBox').SetSelectedIndex(/**number*/ ind)
Text¶
Text of the object, 'false' if text can not be read.
Type: string
Accessors: GetText, SetText
value = SeS('SomeUIAComboBox').GetText()
SeS('SomeUIAComboBox').SetText(value)
Action Detail¶
DoSelectItem¶
Selects an item of this object.
SeS('SomeUIAComboBox').DoSelectItem(item)
Parameters:
Name | Type | Description |
---|---|---|
item | string | number | Item index or text value to select. |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoSetText¶
Set text into combobox with an edit box.
SeS('SomeUIAComboBox').DoSetText(newText)
Parameters:
Name | Type | Description |
---|---|---|
newText | string | Text to set |
Returns:
boolean: 'true' if successful, 'false' otherwise