org.alfresco.webdrone.share.site.document
Class CreateContentPage
java.lang.Object
org.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.site.SitePage
org.alfresco.webdrone.share.site.document.CreateContentPage
- All Implemented Interfaces:
- HtmlPage, Render
- Direct Known Subclasses:
- InlineEditPage
public class CreateContentPage
- extends SitePage
Create content page object, Where user can create content.
- Since:
- 1.6.1
- Author:
- Shan Nagarajan
|
Field Summary |
protected static org.openqa.selenium.By |
CONTENT
|
protected static org.openqa.selenium.By |
DESCRIPTION
|
protected static org.openqa.selenium.By |
NAME
|
protected static org.openqa.selenium.By |
SUBMIT_BUTTON
|
protected static org.openqa.selenium.By |
TITLE
|
| 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 |
NAME
protected static final org.openqa.selenium.By NAME
TITLE
protected static final org.openqa.selenium.By TITLE
DESCRIPTION
protected static final org.openqa.selenium.By DESCRIPTION
CONTENT
protected static final org.openqa.selenium.By CONTENT
SUBMIT_BUTTON
protected static final org.openqa.selenium.By SUBMIT_BUTTON
CreateContentPage
public CreateContentPage(WebDrone drone)
render
public CreateContentPage 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 CreateContentPage 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 CreateContentPage 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
create
public DocumentDetailsPage create(ContentDetails details)
- Create the content with name, title and description.
- Parameters:
name - - The Name of the Documenttitle - - The Title of the Documentdescription - - Descriptiondetails - - Document Content
- Returns:
DocumentDetailsPage
Copyright © 2013. All Rights Reserved.