com.atlassian.confluence.pageobjects.component.dropdown
Class QuickSearchSuggestions

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.dropdown.QuickSearchSuggestions
All Implemented Interfaces:
PageComponent

public class QuickSearchSuggestions
extends ConfluenceAbstractPageComponent

Represents Quick Search Suggestions in the Confluence Header.

Since:
v5.2

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement suggestionsList
           
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
QuickSearchSuggestions()
           
 
Method Summary
 ViewPage clickOnSuggestedItem(java.lang.String name)
           
<T> T
clickOnSuggestedItem(java.lang.String name, java.lang.Class<T> nextPage)
           
 java.lang.Boolean containsText(java.lang.String match)
           
 java.lang.String getTextFromSuggestionsActiveItem()
           
 void ready()
           
 int suggestionsListNumberSpaceItems()
           
 void waitForSuggestionsContainsText(java.lang.String match)
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

suggestionsList

protected com.atlassian.pageobjects.elements.PageElement suggestionsList
Constructor Detail

QuickSearchSuggestions

public QuickSearchSuggestions()
Method Detail

ready

public final void ready()

waitForSuggestionsContainsText

public void waitForSuggestionsContainsText(java.lang.String match)

clickOnSuggestedItem

public ViewPage clickOnSuggestedItem(java.lang.String name)

clickOnSuggestedItem

public <T> T clickOnSuggestedItem(java.lang.String name,
                                  java.lang.Class<T> nextPage)

getTextFromSuggestionsActiveItem

public java.lang.String getTextFromSuggestionsActiveItem()

suggestionsListNumberSpaceItems

public int suggestionsListNumberSpaceItems()

containsText

public java.lang.Boolean containsText(java.lang.String match)


Copyright © 2003-2014 Atlassian. All Rights Reserved.