org.alfresco.webdrone.share.site
Class SiteDashboardPage
java.lang.Object
org.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.site.SitePage
org.alfresco.webdrone.share.site.SiteDashboardPage
- All Implemented Interfaces:
- HtmlPage
public class SiteDashboardPage
- extends SitePage
Site dashboard page object, holds all element of the HTML page relating to
share's site dashboard page.
- Since:
- 1.0
- Author:
- Michael Suzuki
|
Method Summary |
SiteDashboardPage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete. |
SiteDashboardPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set. |
SiteDashboardPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded. |
boolean |
siteProfileDisplayed()
Verify if we are on site dashboard page and the site profile dashlet is
displayed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteDashboardPage
public SiteDashboardPage(WebDrone drone)
- Constructor
render
public SiteDashboardPage render(RenderTime timer)
throws PageException
- Description copied from interface:
HtmlPage
- Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
To verify this assertion every page object that implements
the method will contain logic to determine if the page has
loaded completely in the given time set by the
RenderTime.
- Parameters:
timer - RenderTime time to wait
- Returns:
HtmlPage page object response
- Throws:
PageException
render
public SiteDashboardPage render()
throws PageException
- Description copied from interface:
HtmlPage
- Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
- Returns:
HtmlPage object response
- Throws:
PageException
render
public SiteDashboardPage render(long time)
throws PageException
- Description copied from interface:
HtmlPage
- Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
- Returns:
HtmlPage page object response
- Throws:
PageException
siteProfileDisplayed
public boolean siteProfileDisplayed()
- Verify if we are on site dashboard page and the site profile dashlet is
displayed.
- Returns:
- true if site profile is visible
Copyright © 2012. All Rights Reserved.