|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.site.CreateSitePage
public class CreateSitePage
Create site page object, holds all element of the html page relating to share's create site page.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
CreateSitePage(WebDrone drone)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, disbaleFileUploadFlash, findButton, getLogin, getNav, getPageTitle, getSearch, isLogoPresent, isTitlePresent, panelExists |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getScreenShot, getTitle, isBrowserTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateSitePage(WebDrone drone)
| Method Detail |
|---|
public CreateSitePage render(RenderTime timer)
throws PageException
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object response
PageException
public CreateSitePage render()
throws PageException
HtmlPage
HtmlPage object response
PageException
public CreateSitePage render(long time)
throws PageException
HtmlPage
HtmlPage page object response
PageExceptionpublic boolean isCreateSiteDialogDisplayed()
public HtmlPage createNewSite(String siteName)
throws PageException
siteName - String mandatory field
HtmlPage page response
Exception - if error
PageExceptionpublic 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 check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||