|
||||||||||
| 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.SiteFinderPage
public class SiteFinderPage
Site finder page object, holds all element of the html page relating to share's site finder page.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
SiteFinderPage(WebDrone drone)
Constructor. |
|
| Method Summary | |
|---|---|
HtmlPage |
deleteSite(String siteName)
Deletes a site based on the result of the site finder search which should only yield one result. |
boolean |
hasResults()
Verify if results are displayed on the page. |
SiteFinderPage |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
SiteFinderPage |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
SiteFinderPage |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
HtmlPage |
searchForSite(String title)
Search for a site form action. |
| 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 SiteFinderPage(WebDrone drone)
| Method Detail |
|---|
public SiteFinderPage render(RenderTime timer)
throws PageException
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object response
PageException
public SiteFinderPage render()
throws PageException
HtmlPage
HtmlPage object response
PageException
public SiteFinderPage render(long time)
throws PageException
HtmlPage
HtmlPage page object response
PageException
public HtmlPage searchForSite(String title)
throws Exception
title - String name of site
Exception - if errorpublic boolean hasResults()
public HtmlPage deleteSite(String siteName)
siteName - String site name
HtmlPage page response object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||