|
||||||||||
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<P> com.atlassian.jira.webtest.framework.impl.selenium.component.SeleniumAutoCompleteInput<I,F> com.atlassian.jira.webtest.framework.impl.selenium.component.fc.AbstractSeleniumFcInput<I,F,S>
public abstract class AbstractSeleniumFcInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>>
Abstract implementation of FcSuggestions
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
assertThat, client, context, timeouts |
Constructor Summary | |
---|---|
protected |
AbstractSeleniumFcInput(String fieldId,
F parent,
SeleniumContext context)
|
Method Summary | |
---|---|
S |
arrowDown()
Press arrow down key in this input. |
S |
clickDropIcon()
Click the drop-icon of this input. |
protected FcLozenge |
createLozenge(String label)
Create lozenge associated with this input for given label. |
AjsDropdown<F> |
dropDown()
AJS.DropDown instance associated with this auto-complete input. |
F |
fc()
Frother Control in play. |
TimedCondition |
hasLozenge(String text)
Check if this input has lozenge with given text. |
protected SeleniumLocator |
iconLocator()
Locator of the drop-down icon element. |
protected SeleniumLocator |
inputLocator()
Locator of the input text element. |
Locator |
locator()
Locator unambiguously locating this page object. |
TimedQuery<FcLozenge> |
lozenge(String label)
Retrieves lozenge with given label. |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.component.SeleniumAutoCompleteInput |
---|
asTargetType, clear, detector, focusAway, type, value |
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, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.webtest.framework.component.fc.FcInput |
---|
clear, suggestions, type |
Methods inherited from interface com.atlassian.jira.webtest.framework.component.AutoCompleteInput |
---|
focusAway |
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 |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.component.ValueHolder |
---|
value |
Constructor Detail |
---|
protected AbstractSeleniumFcInput(String fieldId, F parent, SeleniumContext context)
Method Detail |
---|
protected FcLozenge createLozenge(String label)
label
- label of the lozenge to create
protected final SeleniumLocator inputLocator()
SeleniumAutoCompleteInput
inputLocator
in class SeleniumAutoCompleteInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>>
public Locator locator()
Localizable
locator
in interface Localizable
protected final SeleniumLocator iconLocator()
SeleniumAutoCompleteInput
iconLocator
in class SeleniumAutoCompleteInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>>
public final AjsDropdown<F> dropDown()
AutoCompleteInput
dropDown
in interface AutoCompleteInput<F extends FrotherControl<F,S,I>>
public TimedQuery<FcLozenge> lozenge(String label)
FcInput
Retrieves lozenge with given label.
lozenge
in interface FcInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>>
null
if those conditions are not
met by given timeoutFcLozenge
public TimedCondition hasLozenge(String text)
FcInput
hasLozenge
in interface FcInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>>
text
- text to find
public final F fc()
FrotherControlComponent
fc
in interface FrotherControlComponent<F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>,I extends FcInput<I,F,S>>
public final S arrowDown()
AutoCompleteInput
Openable.isOpen()
method.
arrowDown
in interface AutoCompleteInput<F extends FrotherControl<F,S,I>>
arrowDown
in interface FcInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>>
arrowDown
in class SeleniumAutoCompleteInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>>
public final S clickDropIcon()
AutoCompleteInput
Openable.isOpen()
and
Openable.isClosed()
.
clickDropIcon
in interface AutoCompleteInput<F extends FrotherControl<F,S,I>>
clickDropIcon
in interface FcInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>>
clickDropIcon
in class SeleniumAutoCompleteInput<I extends FcInput<I,F,S>,F extends FrotherControl<F,S,I>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |