org.alfresco.webdrone.share.site.document
Class EditDocumentPropertiesPopup

java.lang.Object
  extended by org.alfresco.webdrone.Page
      extended by org.alfresco.webdrone.share.SharePage
          extended by org.alfresco.webdrone.share.site.SitePage
              extended by org.alfresco.webdrone.share.site.document.AbstractEditProperties
                  extended by org.alfresco.webdrone.share.site.document.EditDocumentPropertiesPopup
All Implemented Interfaces:
HtmlPage

public class EditDocumentPropertiesPopup
extends AbstractEditProperties

Edit document properties pop up page object, holds all element of the HTML page relating to share's edit document properties pop up page.

Since:
1.3.1
Author:
Michael Suzuki

Field Summary
 
Fields inherited from class org.alfresco.webdrone.share.site.document.AbstractEditProperties
INPUT_AUTHOR_SELECTOR, INPUT_DESCRIPTION_SELECTOR, INPUT_NAME_SELECTOR, INPUT_ORIENTATION_SELECTOR, INPUT_RESOLUTION_UNIT_SELECTOR, INPUT_TITLE_SELECTOR, INPUT_VERTICAL_RESOLUTION_SELECTOR
 
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 EditDocumentPropertiesPopup(WebDrone drone)
           
 
Method Summary
 boolean isEditPropertiesVisible()
          Verify if edit properties element, that contains the form is visible.
 EditDocumentPropertiesPopup render()
          Page renderer verifies the page has rendered by checking java script page loaded status is complete.
 EditDocumentPropertiesPopup render(long time)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set.
 EditDocumentPropertiesPopup render(RenderTime timer)
          Page renderer verifies the page has rendered by checking all elements are visible and loaded.
protected  DocumentLibraryPage selectCancel()
          Select cancel button.
 DocumentLibraryPage selectSave()
          Clicks on save button from the popup view on document library page.
 
Methods inherited from class org.alfresco.webdrone.share.site.document.AbstractEditProperties
clickOnCancel, clickSave, getDescription, getDocumentTitle, getName, getValue, setDescription, setDocumentTitle, setInput, setName
 
Methods inherited from class org.alfresco.webdrone.share.site.SitePage
getSiteNav, isSite, isSitePage
 
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

EditDocumentPropertiesPopup

protected EditDocumentPropertiesPopup(WebDrone drone)
Method Detail

render

public EditDocumentPropertiesPopup 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 EditDocumentPropertiesPopup 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.

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

render

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

isEditPropertiesVisible

public boolean isEditPropertiesVisible()
Verify if edit properties element, that contains the form is visible.

Returns:
true if displayed

selectSave

public DocumentLibraryPage selectSave()
Clicks on save button from the popup view on document library page.

Returns:
DocumentLibraryPage page response

selectCancel

protected DocumentLibraryPage selectCancel()
Select cancel button.

Returns:
DocumentLibraryPage page response


Copyright © 2013. All Rights Reserved.