|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutoComplete
An interface for Autocomplete pickers. E.G dot, multiselect, singleselect, userpickers etc
Method Summary | |
---|---|
AutoComplete |
acceptUsingKeyboard(MultiSelectSuggestion suggestion)
Presses enter on specified suggestion |
AutoComplete |
acceptUsingMouse(MultiSelectSuggestion suggestion)
Selects specified suggestion using mouse click |
AutoComplete |
clearQuery()
Clear string in the textfield. |
AutoComplete |
down(int steps)
Navigates selection down using DOWN key. |
MultiSelectSuggestion |
getActiveSuggestion()
Gets active suggestion |
com.atlassian.pageobjects.elements.PageElement |
getLabel()
If there is an overlabel, will return the PageElement |
List<MultiSelectSuggestion> |
getSuggestions()
Gets a list of suggestions visible in dropdown |
com.atlassian.pageobjects.elements.query.TimedQuery<MultiSelectSuggestion> |
getTimedActiveSuggestion()
Gets active suggestion as a timed query |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<MultiSelectSuggestion>> |
getTimedSuggestions()
Gets a list of suggestions visible in dropdown, as a timed query |
boolean |
isPresent()
Returns if the control is present on page |
AutoComplete |
query(String query)
Types string into textfield and waits for input to be evaluated |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
timedIsPresent()
Returns true if the control is present on page |
AutoComplete |
up(int steps)
Navigates selection down using UP key. |
Method Detail |
---|
List<MultiSelectSuggestion> getSuggestions()
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<MultiSelectSuggestion>> getTimedSuggestions()
AutoComplete clearQuery()
AutoComplete query(String query)
query
- - input to be typed into text field
AutoComplete acceptUsingMouse(MultiSelectSuggestion suggestion)
suggestion
- suggestion to be clicked
AutoComplete acceptUsingKeyboard(MultiSelectSuggestion suggestion)
suggestion
- - suggestion to be navigated to
AutoComplete down(int steps)
steps
- - Number of times down key is pressed
AutoComplete up(int steps)
steps
- - Number of times up key is pressed
com.atlassian.pageobjects.elements.PageElement getLabel()
MultiSelectSuggestion getActiveSuggestion()
com.atlassian.pageobjects.elements.query.TimedQuery<MultiSelectSuggestion> getTimedActiveSuggestion()
boolean isPresent()
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> timedIsPresent()
true
if present
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |