|
||||||||||
| 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.LoginPage
public class LoginPage
Login Page object that holds all information and methods that can be found on the login page.
| 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 | |
|---|---|
LoginPage(WebDrone drone)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
exists()
Verify if login html element div is displayed. |
void |
loginAs(String username,
String password)
Logs user into the site by first finding the login panel,populating the fields and submitting the form. |
LoginPage |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
LoginPage |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
LoginPage |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, canResume, canResume, disbaleFileUploadFlash, 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 |
|---|
public LoginPage(WebDrone drone)
| Method Detail |
|---|
public LoginPage render(RenderTime timer)
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object responsepublic LoginPage render()
HtmlPage
HtmlPage object responsepublic LoginPage render(long time)
HtmlPage
time - waiting time
HtmlPage page object responsepublic boolean exists()
public void loginAs(String username,
String password)
username - String username valuepassword - String password value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||