|
||||||||||
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.AbstractSeleniumComponent<AjsDropdown.Section<P>> com.atlassian.jira.webtest.framework.impl.selenium.component.SeleniumDDItem<P>
public class SeleniumDDItem<P extends PageObject>
Selenium implementation of the AjsDropdown.Item
interface.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
assertThat, client, context, timeouts |
Constructor Summary | |
---|---|
SeleniumDDItem(SeleniumContext ctx,
SeleniumDDSection<P> parentSection,
String name)
|
Method Summary | |
---|---|
protected SeleniumLocator |
detector()
Main locator of this page object. |
AjsDropdown.Item<P> |
down()
If this position is selected, this action will move selection to the next position and return it. |
AjsDropdown<P> |
dropDown()
Dropdown that this position belongs to (section may be retrieved via Component.parent() ). |
TimedCondition |
isNotSelected()
Check if this position is currently NOT selected. |
TimedCondition |
isSelected()
Check if this position is currently selected. |
SeleniumLocator |
locator()
Locator unambiguously locating this page object. |
String |
name()
Name of the position as visible in the UI. |
AjsDropdown.Item<P> |
select()
Select this position. |
String |
toString()
|
AjsDropdown.Item<P> |
up()
If this position is selected, this action will move selection to the previous position and return it. |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.component.AbstractSeleniumComponent |
---|
parent |
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, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.component.Component |
---|
parent |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject |
---|
context, isReady |
Constructor Detail |
---|
public SeleniumDDItem(SeleniumContext ctx, SeleniumDDSection<P> parentSection, String name)
Method Detail |
---|
protected SeleniumLocator detector()
AbstractLocatorBasedPageObject
detector
in class AbstractLocatorBasedPageObject
public SeleniumLocator locator()
Localizable
locator
in interface Localizable
public AjsDropdown<P> dropDown()
AjsDropdown.Item
Component.parent()
).
dropDown
in interface AjsDropdown.Item<P extends PageObject>
public String name()
AjsDropdown.Item
name
in interface AjsDropdown.Item<P extends PageObject>
public TimedCondition isSelected()
AjsDropdown.Item
isSelected
in interface AjsDropdown.Item<P extends PageObject>
public TimedCondition isNotSelected()
AjsDropdown.Item
true
as soon as this position element is not select, or false, if the timeout expires and this element
is still selected.
- Specified by:
isNotSelected
in interface AjsDropdown.Item<P extends PageObject>
- Returns:
- condition checking whether this position is currently not selected
public AjsDropdown.Item<P> select()
AjsDropdown.Item
select
in interface AjsDropdown.Item<P extends PageObject>
public AjsDropdown.Item<P> down()
AjsDropdown.Item
down
in interface AjsDropdown.Item<P extends PageObject>
AjsDropdown.Item.isSelected()
,
AjsDropdown.Item.select()
public AjsDropdown.Item<P> up()
AjsDropdown.Item
up
in interface AjsDropdown.Item<P extends PageObject>
AjsDropdown.Item.isSelected()
,
AjsDropdown.Item.select()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |