|
||||||||||
| 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.site.SiteNavigation
public class SiteNavigation
Represent elements found on the html page relating to the sub navigation bar that appears on the site pages.
| Field Summary |
|---|
| 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 |
SiteNavigation(WebDrone drone)
Constructor |
| Method Summary | |
|---|---|
boolean |
isDashboardActive()
Check if the site dashboard navigation link is highlighted. |
boolean |
isDocumentLibraryActive()
Check if the site navigation has document library link highlighted. |
boolean |
isLinkActive(org.openqa.selenium.By by)
Check if the site navigation link is highlighted. |
SiteNavigation |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
SiteNavigation |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
SiteNavigation |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
CustomizeSiteDashboardPage |
selectCustomizeDashboard()
|
HtmlPage |
selectEditSite()
Selects on edit site details link. |
InviteMembersPage |
selectInvite()
This method returns the MembersPage object. |
HtmlPage |
selectSiteDashBoard()
Mimics the action of selecting the site dashboard link. |
HtmlPage |
selectSiteDocumentLibrary()
Mimics the action of selecting the site document library link. |
HtmlPage |
selectSiteProjectLibrary()
Mimics the action of selecting the site project library link. |
| 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 |
| Constructor Detail |
|---|
protected SiteNavigation(WebDrone drone)
| Method Detail |
|---|
public SiteNavigation render(RenderTime timer)
RenderRenderTime.
timer - RenderTime time to wait
HtmlPage page object responsepublic SiteNavigation render()
Render
HtmlPage object responsepublic SiteNavigation render(long time)
Render
time - waiting time
HtmlPage page object responsepublic HtmlPage selectSiteDashBoard()
public HtmlPage selectSiteProjectLibrary()
public HtmlPage selectSiteDocumentLibrary()
public CustomizeSiteDashboardPage selectCustomizeDashboard()
public HtmlPage selectEditSite()
HtmlPage page responsepublic InviteMembersPage selectInvite()
InviteMembersPagepublic boolean isDocumentLibraryActive()
public boolean isDashboardActive()
public boolean isLinkActive(org.openqa.selenium.By by)
By - by selector of site nav link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||