public class MyTasksDashlet extends SharePage implements Dashlet
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebElement |
dashlet |
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Modifier | Constructor and Description |
|---|---|
protected |
MyTasksDashlet(org.alfresco.webdrone.WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MyTasksDashlet |
acceptInvitaton()
Selects the accept button on Invitation page.
|
MyTasksDashlet |
clickOnTask(String task)
This method clicks on specific task which appears on my-tasks dashlet.
|
String |
getDashletTitle()
Gets the title on the dashlet panel.
|
protected ShareLink |
getLink(String cssLocation,
String title)
Retries the
ShareLink object that matches the title. |
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)
Dashlet renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
MyTasksDashlet |
render(org.alfresco.webdrone.RenderTime timer)
Dashlet renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
protected boolean |
renderBasic(org.alfresco.webdrone.RenderTime timer,
String css) |
ShareLink |
selectTask(String title)
Selects a task that appears on my tasks dashlet by the matching name and
clicks on the link.
|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFileprotected MyTasksDashlet(org.alfresco.webdrone.WebDrone drone)
public MyTasksDashlet render()
Dashletpublic MyTasksDashlet render(long time)
Dashletpublic List<ShareLink> getTasks()
public ShareLink selectTask(String title)
public MyTasksDashlet render(org.alfresco.webdrone.RenderTime timer)
Dashletpublic MyTasksDashlet acceptInvitaton()
MyTasksDashletpublic MyTasksDashlet clickOnTask(String task)
task - MyTasksDashletpublic String getDashletTitle()
protected boolean isEmpty(String css)
dashlet - css locatorprotected boolean isVisibleResults()
protected boolean renderBasic(org.alfresco.webdrone.RenderTime timer,
String css)
Copyright © 2013. All Rights Reserved.