org.alfresco.webdrone.share.site
Class SitePage

java.lang.Object
  extended by org.alfresco.webdrone.Page
      extended by org.alfresco.webdrone.share.SharePage
          extended by org.alfresco.webdrone.share.site.SitePage
All Implemented Interfaces:
HtmlPage
Direct Known Subclasses:
AbstractEditProperties, DataListPage, DocumentDetailsPage, DocumentLibraryPage, SiteDashboardPage, WikiPage

public abstract class SitePage
extends SharePage

Abstract of an Alfresco Share 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 SitePage(WebDrone drone)
          Constructor.
 
Method Summary
 SiteNavigation getSiteNav()
          Get main navigation.
 boolean isSite(String siteName)
          Checks that the current site is the same as requested site name.
 boolean isSitePage(String pageTitle)
          Checks the hight ligted link in the site sub navigation to verify which page we are on.
 
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
 
Methods inherited from interface org.alfresco.webdrone.HtmlPage
render, render, render
 

Constructor Detail

SitePage

protected SitePage(WebDrone drone)
Constructor.

Method Detail

getSiteNav

public SiteNavigation getSiteNav()
Get main navigation.

Returns:
Navigation page object

isSite

public boolean isSite(String siteName)
Checks that the current site is the same as requested site name.

Returns:
true if site pages match siteName

isSitePage

public boolean isSitePage(String pageTitle)
Checks the hight ligted link in the site sub navigation to verify which page we are on.

Returns:
true if site document library is visible


Copyright © 2013. All Rights Reserved.