org.xwiki.appwithinminutes.test.po
Class ApplicationCreatePage

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.test.ui.po.BasePage
          extended by org.xwiki.test.ui.po.ViewPage
              extended by org.xwiki.appwithinminutes.test.po.ApplicationCreatePage

public class ApplicationCreatePage
extends ViewPage

Represents the actions possible on the first step of the App Within Minutes wizard.

Since:
4.2M1
Version:
$Id: 043d8fd08d083386c8a6bba7bd7126f6add1fe6f $

Constructor Summary
ApplicationCreatePage()
           
 
Method Summary
 ApplicationClassEditPage clickNextStep()
          Clicks on the Next Step button.
 org.openqa.selenium.WebElement getApplicationNameInput()
           
static ApplicationCreatePage gotoPage()
          Loads the first step of the App Within Minutes wizard
 void setApplicationName(String appName)
          Types the given string into the application name input.
 void waitForApplicationNameError()
          Waits until the application name input has an error message.
 void waitForApplicationNamePreview()
          Waits until the preview for the currently inputed application name is displayed.
 
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, editSection, exists, getBreadcrumbContent, getContent, hasBreadcrumbContent, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, waitForDocExtraPaneActive, waitUntilContent
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickContentMenuEditSubMenuEntry, clickContentMenuTopEntry, copy, createInlinePage, createPage, createSpace, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getMetaDataValue, getPageMenuLink, getPageTitle, getPageURL, hasLoginLink, isAuthenticated, isNewDocument, login, logout, register, sendKeys, waitUntilPageIsLoaded, watchDocument, watchSpace
 
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

ApplicationCreatePage

public ApplicationCreatePage()
Method Detail

gotoPage

public static ApplicationCreatePage gotoPage()
Loads the first step of the App Within Minutes wizard

Returns:
the page that represents the first step of the App Within Minutes wizard

setApplicationName

public void setApplicationName(String appName)
Types the given string into the application name input.

Parameters:
appName - the application name

getApplicationNameInput

public org.openqa.selenium.WebElement getApplicationNameInput()
Returns:
the text input where the application name is typed

waitForApplicationNamePreview

public void waitForApplicationNamePreview()
Waits until the preview for the currently inputed application name is displayed.


waitForApplicationNameError

public void waitForApplicationNameError()
Waits until the application name input has an error message.


clickNextStep

public ApplicationClassEditPage clickNextStep()
Clicks on the Next Step button.

Returns:
the page that represents the next step of the App Within Minutes wizard


Copyright © 2004-2013 XWiki. All Rights Reserved.