org.alfresco.webdrone.share.site
Class SiteNavigation

java.lang.Object
  extended by org.alfresco.webdrone.Page
      extended by org.alfresco.webdrone.share.SharePage
          extended by org.alfresco.webdrone.share.site.SiteNavigation
All Implemented Interfaces:
HtmlPage

public class SiteNavigation
extends SharePage

Represent elements found on the html page relating to the sub navigation bar that appears on the site pages.

Since:
1.0
Author:
Michael Suzuki

Field Summary
 
Fields inherited from class org.alfresco.webdrone.share.SharePage
dojoSupport, WAIT_TIME_3000
 
Fields inherited from class org.alfresco.webdrone.Page
drone, maxPageLoadingTime, version
 
Constructor Summary
protected SiteNavigation(WebDrone drone)
          Constructor
 
Method Summary
 SiteNavigation render()
          Page renderer verifies the page has rendered by checking java script page loaded status is complete.
 SiteNavigation render(long time)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set.
 SiteNavigation render(RenderTime timer)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded.
 HtmlPage selectSiteDashBoard()
          Mimics the action of selecting the site dashboard link.
 HtmlPage selectSiteDocumentLibrary()
          Mimics the action of selecting the site document library link.
 HtmlPage selectSiteProjectLibrary()
          Mimics the action of selecting the site project library link.
 
Methods inherited from class org.alfresco.webdrone.share.SharePage
basicRender, canResume, canResume, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists
 
Methods inherited from class org.alfresco.webdrone.Page
close, getDrone, getScreenShot, getTitle, isBrowserTitle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SiteNavigation

protected SiteNavigation(WebDrone drone)
Constructor

Method Detail

render

public SiteNavigation render(RenderTime timer)
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

render

public SiteNavigation render()
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

render

public SiteNavigation render(long time)
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.

Parameters:
time - waiting time
Returns:
HtmlPage page object response

selectSiteDashBoard

public HtmlPage selectSiteDashBoard()
Mimics the action of selecting the site dashboard link.

Returns:
HtmlPage site dashboard page object

selectSiteProjectLibrary

public HtmlPage selectSiteProjectLibrary()
Mimics the action of selecting the site project library link.

Returns:
HtmlPage site document lib page object

selectSiteDocumentLibrary

public HtmlPage selectSiteDocumentLibrary()
Mimics the action of selecting the site document library link.

Returns:
HtmlPage site document lib page object


Copyright © 2013. All Rights Reserved.