public interface ISelectList extends IEditableElement
| Modifier and Type | Method and Description |
|---|---|
void |
deselectAllOptions()
Implementing this method would allow for deselecting any options in the
list that have been selected
|
List<String> |
getOptions()
Implementing this method would allow for getting all options in the list
|
String |
getSelectedOption()
Implementing this method would allow for getting the text of the
currently selected option
|
List<String> |
getSelectedOptions()
Implementing this method would allow for getting the currently selected
options in the list
|
void |
selectMultipleOptions(List<String> options)
Implementing this method would allow for selecting multiple options in
the list based on the text
|
void |
selectOption(String option)
Implementing this method would allow for selecting a specific option from
the list
|
setValueclick, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppendgetLabel, getValueeval, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisibleList<String> getOptions() throws WidgetException
WidgetExceptionList<String> getSelectedOptions() throws WidgetException
WidgetExceptionvoid selectOption(String option) throws WidgetException
option - - the option that is to be selectedWidgetExceptionString getSelectedOption() throws WidgetException
WidgetExceptionvoid selectMultipleOptions(List<String> options) throws WidgetException
options - - the list containing the text of the elements to be selectedWidgetExceptionvoid deselectAllOptions()
throws WidgetException
WidgetExceptionCopyright © 2018. All rights reserved.