public class LspsTabbedLayout extends UIComponent
UIFinder.findByLspsId(String)
.Modifier and Type | Field and Description |
---|---|
protected By |
byTabCell |
driver, seleniumElement
Constructor and Description |
---|
LspsTabbedLayout(WebElement element,
WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
int |
getSelectedTabIndex()
Returns the index of the currently selected tab.
|
List<String> |
getTabCaptions()
Gets a list of Tabs inside the Tab container.
|
int |
getTabCount()
Gets the number of tabs contained in this tab sheet.
|
void |
openTab(int index)
Opens the tab with the given index.
|
void |
openTab(String tabCaption)
Opens a Tab that has caption equal to given tabCaption.
|
as, click, click, doubleClick, extractedSeleniumIfTestBench, extractedSeleniumIfTestBench, focus, getAttribute, getCaption, getClassNames, getErrorMessage, getHint, getId, getModelingId, getText, hasClassName, isEnabled, isValid, isVisible, rightClick, scrollIntoView, sleep, toHTML, toInnerHTML, toString, webElementsByLspsId
$, actions, clickButton, contains, createIdLocator, findAllByAttributeValue, findAllByClassname, findAllByFormId, findAllById, findAllByIdPrefix, findAllByLspsId, findAllByTextContent, findAllByXpath, findByAttributeValue, findByClassname, findByFormId, findById, findByIdPrefix, findByLspsId, findByTextContent, findByXpath, findCaptionByTextContent, findElement, findElements, findNthByTag, getDriver, getLspsCommandExecutor, waitForVaadin, webElementsByExactTextContent, webElementsByFormId, webElementsById, webElementsByIdPrefix, webElementsByLspsFormId, webElementsByTextContent, webElementsByXpath
public int getSelectedTabIndex()
public List<String> getTabCaptions()
public int getTabCount()
public void openTab(int index)
index
- The zero-based index of the tab to be opened.NoSuchElementException
- on invalid indexpublic void openTab(String tabCaption)
tabCaption
- Caption of the tab to be openedNoSuchElementException
- on invalid tab nameCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.