|
||||||||||
| 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.dashlet.MySitesDashlet
public class MySitesDashlet
My site dashlet object, holds all element of the HTML page relating to share's my site dashlet on dashboard page.
| Field Summary | |
|---|---|
protected org.openqa.selenium.WebElement |
dashlet
|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
protected |
MySitesDashlet(WebDrone drone)
Constructor. |
| Method Summary | |
|---|---|
HtmlPage |
deleteSite(String siteName)
Selects a site that appears on my site dashlet by the matching name and clicks on the delete link. |
String |
getDashletTitle()
Gets the title on the dashlet panel. |
List<String> |
getSites()
The active sites displayed on my site dashlet. |
MySitesDashlet |
render()
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
MySitesDashlet |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
MySitesDashlet |
render(RenderTime timer)
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
void |
selectFirstSite()
Selects the first site that appears on my site dashlet and click on the link. |
HtmlPage |
selectSite(String siteName)
Selects a site that appears on my site dashlet by the matching name and clicks on the link. |
| 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 |
| Field Detail |
|---|
protected final org.openqa.selenium.WebElement dashlet
| Constructor Detail |
|---|
protected MySitesDashlet(WebDrone drone)
| Method Detail |
|---|
public MySitesDashlet render()
Dashlet
render in interface HtmlPagerender in interface Dashlet
public MySitesDashlet render(long time)
throws PageException
HtmlPage
render in interface HtmlPageHtmlPage page object response
PageExceptionpublic List<String> getSites()
public void selectFirstSite()
public HtmlPage selectSite(String siteName)
throws PageException
Exception - if no site found
PageException
public HtmlPage deleteSite(String siteName)
throws Exception
Exception - if no site foundpublic MySitesDashlet render(RenderTime timer)
Dashlet
render in interface HtmlPagerender in interface Dashlettimer - RenderTime time to wait
public String getDashletTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||