UIATabControl¶
UIAutomation UIATabControl.
Extends UIAObject
Extends SeSSimulatedObject
Behavior Pattern: UIAutomationTabControlBehavior
Property Summary¶
| Property | Description | Getter | Setter |
|---|---|---|---|
| ItemsCount | Number of items. | GetItemsCount | |
| SelectedIndex | Index of the selected element of the object. | GetSelectedIndex | SetSelectedIndex |
| SelectedTab | Text of the selected tab | GetSelectedTab | SetSelectedTab |
| TabName | Name of the tab at index | GetTabName |
Action Summary¶
| Action | Description |
|---|---|
| DoSelectTab | Selects the tab by name. |
Property Detail¶
ItemsCount¶
Number of items.
Type: number
Accessors: GetItemsCount
value = SeS('SomeUIATabControl').GetItemsCount()
SelectedIndex¶
Index of the selected element of the object.
Type: number
Accessors: GetSelectedIndex, SetSelectedIndex
value = SeS('SomeUIATabControl').GetSelectedIndex()
SeS('SomeUIATabControl').SetSelectedIndex(index)
SelectedTab¶
Text of the selected tab
Type: string
Accessors: GetSelectedTab, SetSelectedTab
value = SeS('SomeUIATabControl').GetSelectedTab()
SeS('SomeUIATabControl').SetSelectedTab(value)
TabName¶
Name of the tab at index
Getter Parameters:
| Name | Type | Description |
|---|---|---|
| index | number |
Type: string
Accessors: GetTabName
value = SeS('SomeUIATabControl').GetTabName(/**number*/ index)
Action Detail¶
DoSelectTab¶
Selects the tab by name.
SeS('SomeUIATabControl').DoSelectTab(tabName)
Parameters:
| Name | Type | Description |
|---|---|---|
| tabName | string | Tab name to select |
Returns:
boolean: 'true' if success, 'false' otherwise.