public class SwingTabbedPane extends UiElement
Can be identified by:
log, properties| Constructor and Description |
|---|
SwingTabbedPane(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfTabs() |
String[] |
getTabTitles() |
void |
selectTab(int index)
Select tab by index
|
void |
selectTab(String title)
Select tab by title
|
void |
selectTabByRegex(String regex)
Select tab by regular expression
|
void |
selectTabUsingSubElement(String mapId)
Select tab by title using SubElement described in the map file.
|
void |
selectTabUsingSubElement(UiElementProperties elementProperties)
Select tab by title using sub-element properties.
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic SwingTabbedPane(UiDriver uiDriver, UiElementProperties properties)
public void selectTab(int index)
index - the tab index to selectVerificationException - if the element doesn't existpublic void selectTab(String title)
title - the tab title to selectVerificationException - if the element doesn't existpublic void selectTabByRegex(String regex)
regex - the tab title regular expressionVerificationException - if the element doesn't existpublic void selectTabUsingSubElement(UiElementProperties elementProperties)
elementProperties - the sub-element UiElementProperties which contains property 'title'VerificationException - if the table element doesn't existpublic void selectTabUsingSubElement(String mapId)
mapId - the sub-element mapID. This element must have property 'title'VerificationException - if the table element doesn't existpublic int getNumberOfTabs()
VerificationException - if the element doesn't existpublic String[] getTabTitles()
VerificationException - if the element doesn't existCopyright © 2017 Axway Software. All rights reserved.