|
||||||||||
| 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.MyActivitiesDashlet
public class MyActivitiesDashlet
My activities dashlet object, holds all element of the HTML page relating to share's my activities dashlet on dashboard page.
| Nested Class Summary | |
|---|---|
static class |
MyActivitiesDashlet.LinkType
|
| 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 |
MyActivitiesDashlet(WebDrone drone)
Constructor. |
| Method Summary | |
|---|---|
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(RenderTime timer)
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
protected boolean |
renderBasic(RenderTime timer,
String css)
|
HtmlPage |
selectActivityDocument(String name)
Selects the document link on the activity that appears on my activities dashlet by matching the name to the link. |
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. |
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. |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, 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 MyActivitiesDashlet(WebDrone drone)
| Method Detail |
|---|
public MyActivitiesDashlet render()
Dashlet
render in interface Renderrender in interface Dashletpublic MyActivitiesDashlet render(long time)
Dashlet
render in interface Renderrender in interface Dashlettime - long
public MyActivitiesDashlet render(RenderTime timer)
Dashlet
render in interface Renderrender in interface Dashlettimer - RenderTime
public ActivityShareLink selectLink(String name)
name - identifier to match against link titlepublic HtmlPage selectActivityDocument(String name)
name - identifierpublic HtmlPage selectActivityUser(String name)
name - identifierpublic HtmlPage selectActivitySite(String name)
name - identifierpublic List<ActivityShareLink> getActivities()
linktype - Document, User or Site
ShareLink collectionpublic String getDashletTitle()
protected boolean isEmpty(String css)
dashlet - css locator
protected boolean isVisibleResults()
protected List<ShareLink> getList(String csslocator)
protected boolean renderBasic(RenderTime timer,
String css)
protected ShareLink getLink(String cssLocation,
String title)
ShareLink object that matches the title.
cssLocation - String css selector descriptiontitle - String identifier to match
ShareLink link that matches the title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||