org.xwiki.extension.test.po
Class AdvancedSearchPane

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

public class AdvancedSearchPane
extends BaseElement

Represents the advanced extension search form.

Since:
4.2M1
Version:
$Id: 81d5212f3563053276043ef3c9ce5a4612d4ba95 $

Constructor Summary
AdvancedSearchPane()
           
 
Method Summary
 org.openqa.selenium.WebElement getCancelButton()
           
 org.openqa.selenium.WebElement getIdInput()
           
 org.openqa.selenium.WebElement getSearchButton()
           
 org.openqa.selenium.WebElement getVersionInput()
           
 SearchResultsPane search(CharSequence extensionId, CharSequence extensionVersion)
          Searches for the specified extension.
 SearchResultsPane search(org.xwiki.extension.ExtensionId extensionId)
          Searches for the specified extension.
 
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

AdvancedSearchPane

public AdvancedSearchPane()
Method Detail

getIdInput

public org.openqa.selenium.WebElement getIdInput()
Returns:
the text input used to specify the extension ID

getVersionInput

public org.openqa.selenium.WebElement getVersionInput()
Returns:
the text input used to specify the extension version

getSearchButton

public org.openqa.selenium.WebElement getSearchButton()
Returns:
the submit button

getCancelButton

public org.openqa.selenium.WebElement getCancelButton()
Returns:
the cancel button

search

public SearchResultsPane search(CharSequence extensionId,
                                CharSequence extensionVersion)
Searches for the specified extension.

Parameters:
extensionId - the extension identifier
extensionVersion - the extension version
Returns:
the search results pane

search

public SearchResultsPane search(org.xwiki.extension.ExtensionId extensionId)
Searches for the specified extension.

Parameters:
extensionId - the extension identifier
Returns:
the search results pane


Copyright © 2004-2012 XWiki. All Rights Reserved.