org.xwiki.extension.test.po
Class SearchResultsPane

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.extension.test.po.SearchResultsPane

public class SearchResultsPane
extends BaseElement

Represents the extension search results.

Since:
4.2M1
Version:
$Id: 042ef496239cad5b32ab2dc434425ed8ed89aa74 $

Constructor Summary
SearchResultsPane()
           
 
Method Summary
 int getDisplayedResultsCount()
           
 ExtensionPane getExtension(org.xwiki.extension.ExtensionId extensionId)
          Looks for the specified extension on the current results page.
 ExtensionPane getExtension(int index)
          Looks for the extension with the specified index in the search results.
 ExtensionPane getExtension(String name, String version)
          Looks for the specified extension on the current results page.
 String getNoResultsMessage()
           
 PaginationFilterPane getPagination()
           
 
Methods inherited from class org.xwiki.test.ui.po.BaseElement
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultsPane

public SearchResultsPane()
Method Detail

getPagination

public PaginationFilterPane getPagination()
Returns:
the search results pagination

getDisplayedResultsCount

public int getDisplayedResultsCount()
Returns:
the number of extensions displayed

getNoResultsMessage

public String getNoResultsMessage()
Returns:
the message displayed if there are no search results

getExtension

public ExtensionPane getExtension(String name,
                                  String version)
Looks for the specified extension on the current results page.

Parameters:
name - the extension pretty name
version - the extension version
Returns:
the pane displaying the specified extension, null if not found

getExtension

public ExtensionPane getExtension(org.xwiki.extension.ExtensionId extensionId)
Looks for the specified extension on the current results page.

Parameters:
extensionId - the extension identifier
Returns:
the pane displaying the specified extension, null if not found

getExtension

public ExtensionPane getExtension(int index)
Looks for the extension with the specified index in the search results.

Parameters:
index - the 0-based index of the extension in the results
Returns:
the pane displaying the specified extension


Copyright © 2004-2012 XWiki. All Rights Reserved.