com.github.markusbernhardt.selenium2library.keywords
Class SelectElement
java.lang.Object
com.github.markusbernhardt.selenium2library.keywords.BrowserManagement
com.github.markusbernhardt.selenium2library.keywords.Cookie
com.github.markusbernhardt.selenium2library.keywords.Element
com.github.markusbernhardt.selenium2library.keywords.FormElement
com.github.markusbernhardt.selenium2library.keywords.JavaScript
com.github.markusbernhardt.selenium2library.keywords.Logging
com.github.markusbernhardt.selenium2library.keywords.RunOnFailure
com.github.markusbernhardt.selenium2library.keywords.Screenshot
com.github.markusbernhardt.selenium2library.keywords.SelectElement
- Direct Known Subclasses:
- TableElement
public abstract class SelectElement
- extends Screenshot
|
Method Summary |
List<String> |
getListItems(String locator)
|
String |
getSelectedListLabel(String locator)
|
List<String> |
getSelectedListLabels(String locator)
|
String |
getSelectedListValue(String locator)
|
List<String> |
getSelectedListValues(String locator)
|
void |
listSelectionShouldBe(String locator,
String... items)
|
void |
listShouldHaveNoSelections(String locator)
|
void |
pageShouldContainList(String locator)
|
void |
pageShouldContainList(String locator,
String message)
|
void |
pageShouldContainList(String locator,
String message,
String logLevel)
|
void |
pageShouldNotContainList(String locator)
|
void |
pageShouldNotContainList(String locator,
String message)
|
void |
pageShouldNotContainList(String locator,
String message,
String logLevel)
|
void |
selectAllFromList(String locator)
|
void |
selectFromList(String locator,
String... items)
|
void |
selectFromListByIndex(String locator,
String... indexes)
|
void |
selectFromListByLabel(String locator,
String... labels)
|
void |
selectFromListByValue(String locator,
String... values)
|
void |
unselectFromList(String locator,
String... items)
|
void |
unselectFromListByIndex(String locator,
Integer... indexes)
|
void |
unselectFromListByLabel(String locator,
String... labels)
|
void |
unselectFromListByValue(String locator,
String... values)
|
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.JavaScript |
alertShouldBePresent, alertShouldBePresent, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, closeAlert, closeAlert, confirmAction, executeAsyncJavascript, executeJavascript, getAlertMessage, getJavascriptToExecute, readFile |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.FormElement |
checkboxShouldBeSelected, checkboxShouldNotBeSelected, chooseFile, clickButton, getCheckbox, getRadioButtons, getRadioButtonWithValue, getValueFromRadioButtons, inputPassword, inputText, inputTextIntoTextField, isFormElement, pageShouldContainButton, pageShouldContainButton, pageShouldContainButton, pageShouldContainCheckbox, pageShouldContainCheckbox, pageShouldContainCheckbox, pageShouldContainRadioButton, pageShouldContainRadioButton, pageShouldContainRadioButton, pageShouldContainTextfield, pageShouldContainTextfield, pageShouldContainTextfield, pageShouldNotContainButton, pageShouldNotContainButton, pageShouldNotContainButton, pageShouldNotContainCheckbox, pageShouldNotContainCheckbox, pageShouldNotContainCheckbox, pageShouldNotContainRadioButton, pageShouldNotContainRadioButton, pageShouldNotContainRadioButton, pageShouldNotContainTextfield, pageShouldNotContainTextfield, pageShouldNotContainTextfield, radioButtonShouldBeSetTo, radioButtonShouldNotBeSelected, selectCheckbox, selectRadioButton, submitForm, submitForm, textfieldShouldContain, textfieldShouldContain, textfieldValueShouldBe, textfieldValueShouldBe, unselectCheckbox |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Element |
assignIdToElement, clickElement, clickImage, clickLink, currentFrameContains, currentFrameContains, currentFrameShouldNotContain, currentFrameShouldNotContain, doubleClickElement, dragAndDrop, dragAndDropByOffset, elementFind, elementFind, elementShouldBeDisabled, elementShouldBeEnabled, elementShouldBeVisible, elementShouldBeVisible, elementShouldContain, elementShouldContain, elementShouldNotBeVisible, elementShouldNotBeVisible, elementTextShouldBe, elementTextShouldBe, escapeXpathValue, fetchText, fetchValue, fetchValue, focus, frameContains, frameShouldContain, frameShouldContain, getAllLinks, getElementAttribute, getHorizontalPosition, getMatchingXpathCount, getText, getValue, getValue, getVerticalPosition, helperPageShouldContainElement, helperPageShouldNotContainElement, isElementPresent, isElementPresent, isEnabled, isTextPresent, isVisible, mapAsciiKeyCodeToKey, mouseDown, mouseDownOnImage, mouseDownOnLink, mouseOut, mouseOver, mouseUp, openContextMenu, pageContains, pageShouldContain, pageShouldContain, pageShouldContainElement, pageShouldContainElement, pageShouldContainElement, pageShouldContainElement, pageShouldContainImage, pageShouldContainImage, pageShouldContainImage, pageShouldContainLink, pageShouldContainLink, pageShouldContainLink, pageShouldNotContain, pageShouldNotContain, pageShouldNotContainElement, pageShouldNotContainElement, pageShouldNotContainElement, pageShouldNotContainElement, pageShouldNotContainImage, pageShouldNotContainImage, pageShouldNotContainImage, pageShouldNotContainLink, pageShouldNotContainLink, pageShouldNotContainLink, parseAttributeLocator, pressKey, simulate, xpathShouldMatchXTimes, xpathShouldMatchXTimes, xpathShouldMatchXTimes |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.BrowserManagement |
closeAllBrowsers, closeBrowser, closeWindow, createDesiredCapabilities, createLocalWebDriver, createRemoteWebDriver, createWebDriver, getLocation, getPasswordFromURL, getSeleniumImplicitWait, getSeleniumSpeed, getSeleniumTimeout, getSource, getTitle, getUserFromURL, getWindowIdentifiers, getWindowNames, getWindowTitles, goBack, goTo, locationShouldBe, locationShouldContain, logLocation, logSource, logSource, logTitle, maximizeBrowserWindow, openBrowser, openBrowser, openBrowser, openBrowser, openBrowser, openBrowser, reloadPage, selectFrame, selectWindow, selectWindow, setBrowserImplicitWait, setRemoteWebDriverProxy, setRemoteWebDriverProxy, setRemoteWebDriverProxy, setRemoteWebDriverProxy, setSeleniumImplicitWait, setSeleniumSpeed, setSeleniumTimeout, switchBrowser, titleShouldBe, unselectFrame |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectElement
public SelectElement()
getListItems
public List<String> getListItems(String locator)
getSelectedListLabel
public String getSelectedListLabel(String locator)
getSelectedListLabels
public List<String> getSelectedListLabels(String locator)
getSelectedListValue
public String getSelectedListValue(String locator)
getSelectedListValues
public List<String> getSelectedListValues(String locator)
listSelectionShouldBe
public void listSelectionShouldBe(String locator,
String... items)
listShouldHaveNoSelections
public void listShouldHaveNoSelections(String locator)
pageShouldContainList
public void pageShouldContainList(String locator)
pageShouldContainList
public void pageShouldContainList(String locator,
String message)
pageShouldContainList
public void pageShouldContainList(String locator,
String message,
String logLevel)
pageShouldNotContainList
public void pageShouldNotContainList(String locator)
pageShouldNotContainList
public void pageShouldNotContainList(String locator,
String message)
pageShouldNotContainList
public void pageShouldNotContainList(String locator,
String message,
String logLevel)
selectAllFromList
public void selectAllFromList(String locator)
selectFromList
public void selectFromList(String locator,
String... items)
selectFromListByIndex
public void selectFromListByIndex(String locator,
String... indexes)
selectFromListByValue
public void selectFromListByValue(String locator,
String... values)
selectFromListByLabel
public void selectFromListByLabel(String locator,
String... labels)
unselectFromList
public void unselectFromList(String locator,
String... items)
unselectFromListByIndex
public void unselectFromListByIndex(String locator,
Integer... indexes)
unselectFromListByValue
public void unselectFromListByValue(String locator,
String... values)
unselectFromListByLabel
public void unselectFromListByLabel(String locator,
String... labels)
Copyright © 2013. All Rights Reserved.