|
||||||||||
| 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.SiteContentDashlet
public class SiteContentDashlet
Site content dashlet object, holds all element of the HTML relating to site content dashlet.
| 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 |
SiteContentDashlet(WebDrone drone)
Constructor. |
| Method Summary | |
|---|---|
void |
clickDetailView()
Mimics action of Clicking the Details View Button. |
void |
clickFilterButtton()
Retrieves the Site content FilterButton based on the given cssSelector and clicks on it. |
void |
clickHelpButton()
|
void |
clickSimpleView()
Mimics action of Clicking the Simple View Button. |
void |
closeHelpBallon()
Retrieves the closeButton for Help balloon window based on the given cssSelector and clicks on it. |
List<String> |
getContentsDetails()
To get the Empty Site Content Dashlet Details. |
SiteContentFilter |
getCurrentFilter()
Get the Filter applied on site content dashlet. |
String |
getDashletTitle()
Gets the title on the dashlet panel. |
List<DetailedViewInformation> |
getDetailedViewInformation()
Get the List of Detailed View Information. |
String |
getEmptyContentHeading()
Heading text from site content dashlet. |
List<org.openqa.selenium.WebElement> |
getFilters()
The filters of the Site content those are diplayed in filters dropdown. |
String |
getHelpBalloon()
This method gets the Help balloon messages and merge the message into string. |
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<SimpleViewInformation> |
getSimpleViewInformation()
Get the List of Simple View Information. |
List<ShareLink> |
getSiteContents()
The content of the site that is displayed on site content dashlet. |
boolean |
isBalloonDisplayed()
Finds whether help balloon is displayed on this page. |
boolean |
isDetailButtonDisplayed()
Retrieves the link based on the given cssSelector. |
protected boolean |
isEmpty(String css)
Checks if dashlet is empty by verifying that dashlet div class empty is not displayed. |
boolean |
isHelpButtonDisplayed()
Find whether Help Button is displayed on this dashlet. |
boolean |
isSimpleButtonDisplayed()
Retrieves the link based on the given cssSelector. |
protected boolean |
isVisibleResults()
Check if results table is populated. |
SiteContentDashlet |
render()
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
SiteContentDashlet |
render(long time)
Dashlet renderer verifies the page has rendered by checking java script page loaded status is complete. |
SiteContentDashlet |
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)
|
SiteContentDashlet |
renderDetailViewWithContent()
|
SiteContentDashlet |
renderDetailViewWithContent(RenderTime timer)
|
SiteContentDashlet |
renderSimpleViewWithContent()
|
SiteContentDashlet |
renderSimpleViewWithContent(RenderTime timer)
|
ShareLink |
select(String name)
Retrieves the link that match the content name. |
SiteDashboardPage |
selectFilter(SiteContentFilter filter)
Select the given SiteContentFilter on Site Content Dashlet. |
void |
selectHelpButton()
Retrieves the link based on the given cssSelector. |
| 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 SiteContentDashlet(WebDrone drone)
| Method Detail |
|---|
public SiteContentDashlet render()
Dashlet
render in interface Renderrender in interface Dashletpublic SiteContentDashlet render(long time)
Dashlet
render in interface Renderrender in interface Dashlettime - long
public List<ShareLink> getSiteContents()
public ShareLink select(String name)
name - identifier
ShareLink that matches members namepublic SiteContentDashlet render(RenderTime timer)
Dashlet
render in interface Renderrender in interface Dashlettimer - RenderTime
public SiteContentDashlet renderSimpleViewWithContent()
public SiteContentDashlet renderSimpleViewWithContent(RenderTime timer)
public SiteContentDashlet renderDetailViewWithContent()
public SiteContentDashlet renderDetailViewWithContent(RenderTime timer)
public boolean isDetailButtonDisplayed()
public boolean isSimpleButtonDisplayed()
public void selectHelpButton()
public boolean isHelpButtonDisplayed()
public void clickHelpButton()
public boolean isBalloonDisplayed()
public String getHelpBalloon()
public void closeHelpBallon()
public void clickFilterButtton()
public List<org.openqa.selenium.WebElement> getFilters()
public SiteDashboardPage selectFilter(SiteContentFilter filter)
SiteContentFilter on Site Content Dashlet.
filter - - The SiteContentFilter to be selected
SiteDashboardPagepublic SiteContentFilter getCurrentFilter()
SiteContentFilterpublic String getEmptyContentHeading()
public List<String> getContentsDetails()
List String - Content Details.public void clickSimpleView()
public List<SimpleViewInformation> getSimpleViewInformation()
List of SimpleViewInformation.public void clickDetailView()
public List<DetailedViewInformation> getDetailedViewInformation()
List of DetailedViewInformation.public 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 | |||||||||