| 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 |
SiteContentDashlet(org.alfresco.webdrone.WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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<SiteContentFilter> |
getFilters()
The filters of the Site content text those are displayed in filters dropdown.
|
String |
getHelpBalloonMessage()
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(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) |
SiteContentDashlet |
renderDetailViewWithContent() |
SiteContentDashlet |
renderDetailViewWithContent(org.alfresco.webdrone.RenderTime timer) |
SiteContentDashlet |
renderSimpleViewWithContent() |
SiteContentDashlet |
renderSimpleViewWithContent(org.alfresco.webdrone.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.
|
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 SiteContentDashlet(org.alfresco.webdrone.WebDrone drone)
public SiteContentDashlet render()
Dashletpublic SiteContentDashlet render(long time)
Dashletpublic List<ShareLink> getSiteContents()
public ShareLink select(String name)
name - identifierShareLink that matches members namepublic SiteContentDashlet render(org.alfresco.webdrone.RenderTime timer)
Dashletpublic SiteContentDashlet renderSimpleViewWithContent()
public SiteContentDashlet renderSimpleViewWithContent(org.alfresco.webdrone.RenderTime timer)
public SiteContentDashlet renderDetailViewWithContent()
public SiteContentDashlet renderDetailViewWithContent(org.alfresco.webdrone.RenderTime timer)
public boolean isDetailButtonDisplayed()
public boolean isSimpleButtonDisplayed()
public void selectHelpButton()
public boolean isHelpButtonDisplayed()
public void clickHelpButton()
public boolean isBalloonDisplayed()
public String getHelpBalloonMessage()
public void closeHelpBallon()
public void clickFilterButtton()
public SiteDashboardPage selectFilter(SiteContentFilter filter)
SiteContentFilter on Site Content Dashlet.filter - - The SiteContentFilter to be selectedSiteDashboardPagepublic 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 List<SiteContentFilter> getFilters()
public 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.