public class QuickNavBox extends Object
Constructor and Description |
---|
QuickNavBox(ConfluenceSeleniumClient client,
String elementId,
String listContainerSelector) |
QuickNavBox(ConfluenceSeleniumClient client,
String elementId,
String listContainerSelector,
boolean singleList) |
Modifier and Type | Method and Description |
---|---|
void |
clickResult(String name) |
void |
clickSearchFor() |
String |
getResultTitle(String name) |
void |
pressDown()
Press the up/down arrow key in the quick navigation box.
|
void |
pressUp() |
void |
select() |
void |
type(String text) |
void |
waitForNumberOfResults(int expectedResults) |
void |
waitForResultsToContainExactEntry(String name) |
void |
waitForResultsToPartiallyContain(String partialName) |
void |
waitForResultToBeSelected(int resultIndex) |
void |
waitUntilVisible() |
public QuickNavBox(ConfluenceSeleniumClient client, String elementId, String listContainerSelector)
public QuickNavBox(ConfluenceSeleniumClient client, String elementId, String listContainerSelector, boolean singleList)
public void type(String text)
public void waitUntilVisible()
public void waitForNumberOfResults(int expectedResults)
public void waitForResultsToContainExactEntry(String name)
public void waitForResultsToPartiallyContain(String partialName)
public void clickSearchFor()
public void clickResult(String name)
public void waitForResultToBeSelected(int resultIndex)
public void pressDown()
#CONF-17347 Firefox plays up with the Atlassian keyPress() method inputing extra characters in the textbox and selecting items from dropdown for only a brief moment. Therefore needs this hack.
public void pressUp()
public void select()
Copyright © 2003–2017 Atlassian. All rights reserved.