public abstract class AbstractSiteNavigation
extends org.alfresco.webdrone.HtmlElement
| Modifier and Type | Field and Description |
|---|---|
protected AlfrescoVersion |
alfrescoVersion |
protected static org.openqa.selenium.By |
CONFIGURATION_DROPDOWN |
protected static org.openqa.selenium.By |
CONFIGURE_ICON |
protected static org.openqa.selenium.By |
CUSTOMISE_DASHBOARD_BTN |
protected static String |
CUSTOMIZE_LINK_TEXT |
protected static org.openqa.selenium.By |
CUSTOMIZE_SITE |
protected static String |
DASHBOARD |
protected static String |
DOCUMENT_LIBRARY |
protected static String |
INVITE_BUTTON |
static String |
LABEL_DOCUMENTLIBRARY_PLACEHOLDER |
static String |
LABEL_DOCUMENTLIBRARY_TEXT |
protected static org.openqa.selenium.By |
MORE_BUTTON_LINK |
protected static String |
PROJECT_LIBRARY |
protected static String |
SITE_DASHBOARD |
protected static String |
SITE_LINK_NAV_PLACEHOLER |
protected String |
siteNavPlaceHolder |
protected static String |
WIKI |
| Constructor and Description |
|---|
AbstractSiteNavigation(org.alfresco.webdrone.WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDashboardActive()
Check if the site dashboard navigation link is highlighted.
|
boolean |
isDashboardDisplayed()
Checks if dash board link is displayed.
|
boolean |
isLinkActive(org.openqa.selenium.By by)
Check if the site navigation link is highlighted.
|
boolean |
isLinkDisplayed(org.openqa.selenium.By by)
Checks if item is displayed.
|
protected void |
select(org.openqa.selenium.By by)
Select the drop down on the page and clicks on the link.
|
protected org.alfresco.webdrone.HtmlPage |
select(String title)
Select the drop down on the page and clicks on the link.
|
org.alfresco.webdrone.HtmlPage |
selectSiteDashBoard()
Action of selecting on Site Dash board link.
|
protected static final org.openqa.selenium.By CUSTOMISE_DASHBOARD_BTN
protected static final org.openqa.selenium.By CONFIGURATION_DROPDOWN
protected static final org.openqa.selenium.By CONFIGURE_ICON
protected static final org.openqa.selenium.By CUSTOMIZE_SITE
protected static final org.openqa.selenium.By MORE_BUTTON_LINK
protected static final String SITE_DASHBOARD
protected static final String DASHBOARD
protected static final String PROJECT_LIBRARY
protected static final String DOCUMENT_LIBRARY
protected static final String INVITE_BUTTON
protected static final String CUSTOMIZE_LINK_TEXT
protected static final String WIKI
protected static final String SITE_LINK_NAV_PLACEHOLER
public static final String LABEL_DOCUMENTLIBRARY_TEXT
public static final String LABEL_DOCUMENTLIBRARY_PLACEHOLDER
protected final String siteNavPlaceHolder
protected AlfrescoVersion alfrescoVersion
public AbstractSiteNavigation(org.alfresco.webdrone.WebDrone drone)
public boolean isLinkActive(org.openqa.selenium.By by)
By - by selector of site nav linkpublic boolean isDashboardActive()
public org.alfresco.webdrone.HtmlPage selectSiteDashBoard()
public boolean isDashboardDisplayed()
protected org.alfresco.webdrone.HtmlPage select(String title)
title - String title label of site navprotected void select(org.openqa.selenium.By by)
by - css locatorpublic boolean isLinkDisplayed(org.openqa.selenium.By by)
Copyright © 2013. All Rights Reserved.