|
||||||||||
| 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.Navigation
public class Navigation
Represent elements found on the html page relating to the main navigation bar
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
Navigation(WebDrone drone)
Constructor |
|
| Method Summary | |
|---|---|
HtmlPage |
logout()
Mimcs the action of selecting logout link. |
Navigation |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
Navigation |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
Navigation |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
HtmlPage |
selectAdvanceSearch()
|
HtmlPage |
selectChangePassword()
Mimcs the action of selecting my profile link. |
CreateSitePage |
selectCreateSite()
Mimics the action of selecting create site link. |
HtmlPage |
selectMyDashBoard()
Mimics the action of selecting the dashboard link. |
HtmlPage |
selectMyProfile()
Mimcs the action of selecting my profile link. |
HtmlPage |
selectPeople()
Mimics the action of selecting people finder link. |
HtmlPage |
selectRepository()
Mimcs the action of selecting repository link. |
HtmlPage |
selectSearchForSites()
Mimics the action of selecting site finder link. |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, disbaleFileUploadFlash, findButton, getLogin, getNav, getPageTitle, getSearch, isLogoPresent, isTitlePresent, panelExists |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getScreenShot, getTitle, isBrowserTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Navigation(WebDrone drone)
drone - WebDriver browser client| Method Detail |
|---|
public Navigation render(RenderTime timer)
throws PageException
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object response
PageException
public Navigation render()
throws PageException
HtmlPage
HtmlPage object response
PageException
public Navigation render(long time)
throws PageException
HtmlPage
HtmlPage page object response
PageException
public HtmlPage selectMyDashBoard()
throws Exception
Exception - if error
public HtmlPage selectPeople()
throws Exception
Exception - if error
public HtmlPage selectSearchForSites()
throws Exception
Exception - if error
public CreateSitePage selectCreateSite()
throws Exception
Exception
public HtmlPage selectMyProfile()
throws Exception
Exception - if error
public HtmlPage selectChangePassword()
throws Exception
Exception - if error
public HtmlPage logout()
throws Exception
Exception
public HtmlPage selectRepository()
throws Exception
Exception - if error
public HtmlPage selectAdvanceSearch()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||