public class MyActivitiesDashlet extends SharePage implements Dashlet
| Modifier and Type | Class and Description |
|---|---|
static class |
MyActivitiesDashlet.LinkType |
| 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 |
MyActivitiesDashlet(org.alfresco.webdrone.WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ActivityShareLink> |
getActivities()
Get Activities based on the link type.
|
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.
|
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.
|
MyActivitiesDashlet |
render()
Dashlet renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
MyActivitiesDashlet |
render(long time)
Dashlet renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
MyActivitiesDashlet |
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) |
org.alfresco.webdrone.HtmlPage |
selectActivityDocument(String name)
Selects the document link on the activity that appears on my activities dashlet
by matching the name to the link.
|
org.alfresco.webdrone.HtmlPage |
selectActivitySite(String name)
Selects a the site link on an activity that appears on my activities dashlet
by matching the name to the link.
|
org.alfresco.webdrone.HtmlPage |
selectActivityUser(String name)
Selects the user link on an activity that appears on my activities dashlet
by matching the name to the link.
|
ActivityShareLink |
selectLink(String name)
Select a link from activity list by a given name
with a default of document type, as there are additional
links such as user or site in the same web element.
|
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 MyActivitiesDashlet(org.alfresco.webdrone.WebDrone drone)
public MyActivitiesDashlet render()
Dashletpublic MyActivitiesDashlet render(long time)
Dashletpublic MyActivitiesDashlet render(org.alfresco.webdrone.RenderTime timer)
Dashletpublic ActivityShareLink selectLink(String name)
name - identifier to match against link titlepublic org.alfresco.webdrone.HtmlPage selectActivityDocument(String name)
name - identifierpublic org.alfresco.webdrone.HtmlPage selectActivityUser(String name)
name - identifierpublic org.alfresco.webdrone.HtmlPage selectActivitySite(String name)
name - identifierpublic List<ActivityShareLink> getActivities()
linktype - Document, User or SiteShareLink collectionpublic 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.