|
||||||||||
| 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
org.alfresco.webdrone.share.dashlet.MyTasksDashlet
public class MyTasksDashlet
My tasks dashlet object, holds all element of the HTML page relating to share's my tasks dashlet on dashboard page.
| Field Summary | |
|---|---|
protected org.openqa.selenium.WebElement |
dashlet
|
| 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 |
MyTasksDashlet(WebDrone drone)
Constructor. |
| Method Summary | |
|---|---|
String |
getDashletTitle()
Gets the title on the dashlet panel. |
protected List<ShareLink> |
getList(String csslocator)
Populates the data seen in dashlet. |
List<ShareLink> |
getTasks()
The collection of tasks displayed on my tasks dashlet. |
protected boolean |
isEmpty(String css)
Checks if dashlet is empty by verifying that dashlet div class empty is not displayed. |
protected boolean |
isVisibleResults()
Check if results table is populated. |
MyTasksDashlet |
render()
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
MyTasksDashlet |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
MyTasksDashlet |
render(RenderTime timer)
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
ShareLink |
selectTask(String title)
Selects a task that appears on my tasks dashlet by the matching name and clicks on the link. |
| 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 |
| Field Detail |
|---|
protected org.openqa.selenium.WebElement dashlet
| Constructor Detail |
|---|
protected MyTasksDashlet(WebDrone drone)
| Method Detail |
|---|
public MyTasksDashlet render()
Dashlet
render in interface HtmlPagerender in interface Dashletpublic MyTasksDashlet render(long time)
HtmlPage
render in interface HtmlPagetime - waiting time
HtmlPage page object responsepublic List<ShareLink> getTasks()
public ShareLink selectTask(String title)
public MyTasksDashlet render(RenderTime timer)
Dashlet
render in interface HtmlPagerender in interface Dashlettimer - RenderTime
public final String getDashletTitle()
protected boolean isEmpty(String css)
dashlet - css locator
protected boolean isVisibleResults()
protected List<ShareLink> getList(String csslocator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||