|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject com.atlassian.jira.webtest.framework.impl.selenium.core.component.SeleniumMultiSelect
public class SeleniumMultiSelect
Selenium implementation of MultiSelect
component.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
assertThat, client, context, timeouts |
Constructor Summary | |
---|---|
SeleniumMultiSelect(SeleniumLocator mainLocator,
SeleniumContext context)
|
Method Summary | |
---|---|
List<Option> |
all()
All options |
protected SeleniumLocator |
detector()
Main locator of this page object. |
Locator |
locator()
Locator unambiguously locating this page object. |
MultiSelect |
select(Option... options)
Add given options to the current selection. |
MultiSelect |
selectAll()
Add all options to the current selection. |
List<Option> |
selected()
Selected options. |
MultiSelect |
unselect(Option... options)
Remove given options from the current selection |
MultiSelect |
unselectAll()
Remove all options from the current selection |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject |
---|
isReady |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject |
---|
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject |
---|
context, isReady |
Constructor Detail |
---|
public SeleniumMultiSelect(SeleniumLocator mainLocator, SeleniumContext context)
Method Detail |
---|
public Locator locator()
Localizable
locator
in interface Localizable
protected SeleniumLocator detector()
AbstractLocatorBasedPageObject
detector
in class AbstractLocatorBasedPageObject
public List<Option> all()
MultiSelect
all
in interface MultiSelect
public List<Option> selected()
MultiSelect
selected
in interface MultiSelect
public MultiSelect select(Option... options)
MultiSelect
select
in interface MultiSelect
options
- options to add
public MultiSelect unselect(Option... options)
MultiSelect
unselect
in interface MultiSelect
options
- options to remove
public MultiSelect selectAll()
MultiSelect
selectAll
in interface MultiSelect
public MultiSelect unselectAll()
MultiSelect
unselectAll
in interface MultiSelect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |