DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version| Constructor and Description |
|---|
CreateSitePage(WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HtmlPage |
createNewSite(String siteName)
Create a new site action.
|
boolean |
isCreateSiteDialogDisplayed()
Verify if the create dialog is displayed.
|
CreateSitePage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
CreateSitePage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
CreateSitePage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
void |
waitUntilSiteCreation(String siteName)
Verify that site has been created before rendering the page response
object of site dashboard page.
|
basicRender, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitlepublic CreateSitePage(WebDrone drone)
public CreateSitePage render(RenderTime timer) throws PageException
HtmlPageRenderTime.timer - RenderTime time to waitHtmlPage page object responsePageExceptionpublic CreateSitePage render() throws PageException
HtmlPageHtmlPage object responsePageExceptionpublic CreateSitePage render(long time) throws PageException
HtmlPagetime - waiting timeHtmlPage page object responsePageExceptionpublic boolean isCreateSiteDialogDisplayed()
public HtmlPage createNewSite(String siteName) throws PageException
siteName - String mandatory fieldHtmlPage page responseException - if errorPageExceptionpublic void waitUntilSiteCreation(String siteName)
FluentWait is applied with a
By to check that the title in the message matches the site name
to ensure the new site has been created.siteName - String site name to checkCopyright © 2012. All Rights Reserved.