public class DetailsPage<N extends SiteNavigation> extends SitePage<N>
renderableParent, webDriver| Constructor and Description |
|---|
DetailsPage() |
| Modifier and Type | Method and Description |
|---|---|
Renderable |
clickOnParentInBreadcrumb(String parentName,
Renderable pageToRender) |
String |
getBannerText(ContentBanner banner)
Get the text on a banner.
|
String |
getBreadcrumbPath() |
String |
getPageURL(String... context)
Get the URL of the page
|
boolean |
hasBanner(ContentBanner banner)
Check if a given banner is present.
|
boolean |
isCantBePreviewedMessageDisplayed()
Check if the content of the file can be previewed
|
boolean |
isContentAvailable()
Check if the content of the file is available for being previewed
|
boolean |
isPreviewLoaded()
Check if the content of the file has been loaded
|
boolean |
isRelationshipsSectionDisplayed() |
Renderable |
navigateUp()
Click on last item on breadcrumb
|
Renderable |
navigateUp(int index)
Click on (breadcrumb.size() - index) item on breadcrumb
|
<T extends Renderable> |
render()
Render method
|
getNavigationgetSharePageNavigation, openclosePage, getCurrentUrl, getLastRenderedPage, getPageTitle, refreshAndReRenderCurrentPage, refreshCurrentPageas, getAllFields, getLastRendered, renderChildrenpublic <T extends Renderable> T render()
Renderablerender in class SharePageSharePage.render()public String getPageURL(String... context)
getPageURL in class SitePage<N extends SiteNavigation>public Renderable navigateUp()
public Renderable navigateUp(int index)
index - - navigate index elements uppublic String getBannerText(ContentBanner banner) throws org.openqa.selenium.NoSuchElementException
The - type of banner to look for.org.openqa.selenium.NoSuchElementException - If no such banner can be found.public boolean hasBanner(ContentBanner banner)
The - type of banner to look for.public String getBreadcrumbPath()
public Renderable clickOnParentInBreadcrumb(String parentName, Renderable pageToRender)
public boolean isContentAvailable()
public boolean isPreviewLoaded()
public boolean isCantBePreviewedMessageDisplayed()
public boolean isRelationshipsSectionDisplayed()
Copyright © 2005–2016 Alfresco Software. All rights reserved.