org.alfresco.webdrone.share.search
Class AdvanceSearchContentPage

java.lang.Object
  extended by org.alfresco.webdrone.Page
      extended by org.alfresco.webdrone.share.SharePage
          extended by org.alfresco.webdrone.share.search.AdvanceSearch
              extended by org.alfresco.webdrone.share.search.AdvanceSearchContentPage
All Implemented Interfaces:
HtmlPage, Render

public class AdvanceSearchContentPage
extends AdvanceSearch

Advance search Content Search page object, holds all element of the content Search page.

Since:
1.6
Author:
Subashni Prasanna

Field Summary
 
Fields inherited from class org.alfresco.webdrone.share.search.AdvanceSearch
CONTENT_MIME_TYPE, CONTENT_SEARCH_FORM, DESCRIPTION_SEARCH, FOLDER_MENU_LIST, FOLDER_SEARCH_MENU, FOLDER_SEARCH_MENU_ITEM, KEYWORD_SEARCH, MODIFIER_FROM_SEARCH, MODIFIER_SEARCH, MODIFIER_TO_SEARCH, NAME_SEARCH, SEARCH_BUTTON, TITLE_SEARCH
 
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
AdvanceSearchContentPage(WebDrone drone)
          Constructor.
 
Method Summary
protected  boolean isContentSearchDisplayed()
          Check whether content search form is loaded correctly
 AdvanceSearchContentPage render()
          Page renderer verifies the page has rendered by checking java script page loaded status is complete.
 AdvanceSearchContentPage render(long time)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set.
 AdvanceSearchContentPage render(RenderTime timer)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded.
 
Methods inherited from class org.alfresco.webdrone.share.search.AdvanceSearch
clickSearch, findElementDisplayed, inputDescription, inputFromDate, inputKeyword, inputModifier, inputName, inputTitle, inputToDate, isDateModifierFromDisplayed, isSearchButtonDisplayed, searchLink, selectMimeType
 
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

AdvanceSearchContentPage

public AdvanceSearchContentPage(WebDrone drone)
Constructor.

Method Detail

render

public AdvanceSearchContentPage 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

render

public AdvanceSearchContentPage 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 AdvanceSearchContentPage 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

isContentSearchDisplayed

protected boolean isContentSearchDisplayed()
Check whether content search form is loaded correctly

Returns:
true if page is displayed correctly


Copyright © 2013. All Rights Reserved.