|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
public abstract class SharePage
Abstract of an Alfresco Share HTML page.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
protected |
SharePage(IWebDrone drone)
|
| Method Summary | |
|---|---|
RenderTime |
basicRender(RenderTime timer)
|
void |
disbaleFileUploadFlash()
Helper method to disable flash on file upload component, as flash is not supported by WebDriver. |
org.openqa.selenium.WebElement |
findButton(String button,
List<org.openqa.selenium.WebElement> elements)
Helper to resolve the delete button from the collection of buttons. |
LoginPage |
getLogin()
Gets the LoginPage |
Navigation |
getNav()
Get the Navigation |
String |
getPageTitle()
Alfresco share based layout and style page title label element. |
Search |
getSearch()
Perform inputing a search term in to the search box on the main navigation. |
boolean |
isLogoPresent()
Verify if the Alfresco logo is present on the page. |
boolean |
isTitlePresent(String title)
Verify share page title is present and matches the page |
boolean |
panelExists(String panelName)
Verifies if the element is visible on the page. |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getScreenShot, getTitle, isBrowserTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.alfresco.webdrone.HtmlPage |
|---|
render, render, render |
| Constructor Detail |
|---|
protected SharePage(IWebDrone drone)
| Method Detail |
|---|
public RenderTime basicRender(RenderTime timer)
throws PageException
timer -
PageExceptionpublic boolean isLogoPresent()
public String getPageTitle()
throws org.openqa.selenium.NoSuchElementException
org.openqa.selenium.NoSuchElementException - if title not foundpublic boolean isTitlePresent(String title)
public boolean panelExists(String panelName)
panelName - the css location of the element
public LoginPage getLogin()
LoginPage
public Navigation getNav()
Navigation
public Search getSearch()
throws Exception
Exception - if error
public org.openqa.selenium.WebElement findButton(String button,
List<org.openqa.selenium.WebElement> elements)
throws org.openqa.selenium.NoSuchElementException
button - String button name value to findelements - ListWebElement delete button
org.openqa.selenium.NoSuchElementException - if not foundpublic void disbaleFileUploadFlash()
WebDriver.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||