org.alfresco.webdrone.share.site
Class CustomizeSiteDashboardPage

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

public class CustomizeSiteDashboardPage
extends SharePage

Customise site dashboard page object, holds all element of the html page relating to customise site dashboard page.

Since:
1.6.1
Author:
Shan Nagarajan

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
CustomizeSiteDashboardPage(WebDrone drone)
          Constructor.
 
Method Summary
 SiteDashboardPage addAllDashlets()
          Add all the dashlets into different columns available.
 SiteDashboardPage removeAllDashlets()
          Mimics the action of removing the all dashlets from Columns.
 CustomizeSiteDashboardPage render()
          Page renderer verifies the page has rendered by checking java script page loaded status is complete.
 CustomizeSiteDashboardPage render(long time)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set.
 CustomizeSiteDashboardPage render(RenderTime timer)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded.
 void selectAddDashlets()
          Mimics the action of the Add Dashlets button click.
 CustomizeSiteDashboardPage selectChangeLayou()
          Mimics the action of selection change layout button.
 SiteDashboardPage selectDashboard(SiteLayout layout)
          Select Layout from given SiteLayout.
 
Methods inherited from class org.alfresco.webdrone.share.SharePage
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, 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

CustomizeSiteDashboardPage

public CustomizeSiteDashboardPage(WebDrone drone)
Constructor.

Method Detail

render

public CustomizeSiteDashboardPage render(RenderTime timer)
Description copied from interface: Render
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 CustomizeSiteDashboardPage render()
Description copied from interface: Render
Page renderer verifies the page has rendered by checking java script page loaded status is complete.

Returns:
HtmlPage object response

render

public CustomizeSiteDashboardPage render(long time)
Description copied from interface: Render
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

selectChangeLayou

public CustomizeSiteDashboardPage selectChangeLayou()
Mimics the action of selection change layout button.

Returns:
CustomizeSiteDashboardPage

selectAddDashlets

public void selectAddDashlets()
Mimics the action of the Add Dashlets button click.


removeAllDashlets

public SiteDashboardPage removeAllDashlets()
Mimics the action of removing the all dashlets from Columns.

Returns:
SiteDashboardPage

selectDashboard

public SiteDashboardPage selectDashboard(SiteLayout layout)
Select Layout from given SiteLayout.

Returns:
SiteDashboardPage

addAllDashlets

public SiteDashboardPage addAllDashlets()
Add all the dashlets into different columns available.

Returns:
SiteDashboardPage


Copyright © 2013. All Rights Reserved.