|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject com.atlassian.jira.webtest.selenium.framework.components.LabelsPicker
public class LabelsPicker
Selenium representation of the AUI.LabelsPicker component, which is a specialized MultiSelect.
Field Summary | |
---|---|
protected Locator |
inputAreaLocator
Deprecated. |
static String |
LABELS_SYSTEM_FIELD_NAME
|
protected MultiSelectLocatorData |
locators
Deprecated. |
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject |
---|
assertThat, client, context |
Method Summary | |
---|---|
String |
anyFocusedPickedElementLocator()
Deprecated. |
String |
anyPickedElementLocator()
Deprecated. |
void |
assertElementNotPicked(String value)
Deprecated. |
void |
assertElementPicked(String value)
Deprecated. |
void |
assertNoElementPicked()
Deprecated. |
void |
assertReady(long timeout)
Deprecated. Assert that this object is loaded and ready to be exercised by Selenium. |
T |
awayFromInputArea()
Deprecated. Removes focus from the input area of the picker, which will trigger processing of the previously inserted queries and close the suggestions drop-down. |
T |
clearInputArea()
Deprecated. Clear input area from any previously inserted text. |
T |
confirmInput()
Deprecated. Press enter in the input area to confirm current option (the one selected in suggestions drop-down). |
protected MultiSelectSuggestions<T> |
createSuggestions()
Deprecated. Factory method for the suggestions control. |
T |
deleteSelection()
Deprecated. |
String |
dropDownIconLocator()
Deprecated. |
String |
focusedSuggestion()
Deprecated. |
T |
focusOnInputArea()
Deprecated. |
int |
getFocusedLozengesCount()
Deprecated. |
int |
getFocusedSuggestionIndex()
Deprecated. |
int |
getFocusedSuggestionsCount()
Deprecated. |
int |
getLozengesCount()
Deprecated. |
boolean |
hasAnyFocusedPickedElement()
Deprecated. |
String |
inputAreaLocator()
Deprecated. |
Locator |
inputLocatorObject()
Deprecated. |
T |
insertQuery(String query)
Deprecated. |
T |
insertQueryFast(String query)
Deprecated. Will invoke all picker events only for the last character in the query. |
String |
locator()
Deprecated. |
String |
locatorWithin(String locator)
Deprecated. Returns jQuery locator in context of this MultiSelect control. |
static LabelsPicker |
newCustomFieldLabelsPicker(String contextLocator,
int fieldId,
SeleniumContext ctx)
|
static LabelsPicker |
newSystemLabelsPicker(String contextLocator,
SeleniumContext ctx)
|
T |
nextSuggestion()
Deprecated. |
String |
pickedElementLocator(String pickedElemValue)
Deprecated. |
T |
prevSuggestion()
Deprecated. |
T |
selectAll()
Deprecated. |
String |
selectModelLocator()
Deprecated. |
MultiSelectSuggestions<T> |
suggestions()
Deprecated. |
String |
suggestionsLocator()
Deprecated. |
MultiSelectSuggestions<T> |
triggerSuggestionsByArrowDown()
Deprecated. |
MultiSelectSuggestions<T> |
triggerSuggestionsByClick()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LABELS_SYSTEM_FIELD_NAME
protected final MultiSelectLocatorData locators
protected final Locator inputAreaLocator
Method Detail |
---|
public static LabelsPicker newSystemLabelsPicker(String contextLocator, SeleniumContext ctx)
public static LabelsPicker newCustomFieldLabelsPicker(String contextLocator, int fieldId, SeleniumContext ctx)
protected MultiSelectSuggestions<T> createSuggestions()
public String locator()
public String inputAreaLocator()
public Locator inputLocatorObject()
public String suggestionsLocator()
public String selectModelLocator()
public String dropDownIconLocator()
public String pickedElementLocator(String pickedElemValue)
public String anyPickedElementLocator()
public String anyFocusedPickedElementLocator()
public String focusedSuggestion()
public String locatorWithin(String locator)
locator
- raw jQuery locator
public int getLozengesCount()
public int getFocusedLozengesCount()
public int getFocusedSuggestionsCount()
public int getFocusedSuggestionIndex()
public boolean hasAnyFocusedPickedElement()
public MultiSelectSuggestions<T> suggestions()
public T focusOnInputArea()
public T insertQuery(String query)
public T insertQueryFast(String query)
query
- query to insert
public T deleteSelection()
public T selectAll()
public T prevSuggestion()
public T nextSuggestion()
public T clearInputArea()
public T awayFromInputArea()
public T confirmInput()
public MultiSelectSuggestions<T> triggerSuggestionsByArrowDown()
public MultiSelectSuggestions<T> triggerSuggestionsByClick()
public void assertReady(long timeout)
assertReady
in interface PageObject
timeout
- timeout to waitpublic void assertNoElementPicked()
public void assertElementPicked(String value)
public void assertElementNotPicked(String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |