com.atlassian.confluence.selenium.client
Class QuickNavBox
java.lang.Object
com.atlassian.confluence.selenium.client.QuickNavBox
public class QuickNavBox
- extends java.lang.Object
Represents a Quick-Navigation box that accepts keystrokes and displays a list of search results that a user may
select from.
- See Also:
ContentNameSearchAction}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuickNavBox
public QuickNavBox(ConfluenceSeleniumClient client,
java.lang.String elementId,
java.lang.String listContainerSelector)
QuickNavBox
public QuickNavBox(ConfluenceSeleniumClient client,
java.lang.String elementId,
java.lang.String listContainerSelector,
boolean singleList)
type
public void type(java.lang.String text)
waitUntilVisible
public void waitUntilVisible()
waitForNumberOfResults
public void waitForNumberOfResults(int expectedResults)
waitForResultsToContainExactEntry
public void waitForResultsToContainExactEntry(java.lang.String name)
waitForResultsToPartiallyContain
public void waitForResultsToPartiallyContain(java.lang.String partialName)
getResultTitle
public java.lang.String getResultTitle(java.lang.String name)
clickSearchFor
public void clickSearchFor()
clickResult
public void clickResult(java.lang.String name)
waitForResultToBeSelected
public void waitForResultToBeSelected(int resultIndex)
pressDown
public void pressDown()
- Press the up/down arrow key in the quick navigation box.
#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.
pressUp
public void pressUp()
Copyright © 2003-2010 Atlassian. All Rights Reserved.