|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.ConfluenceLogin
public class ConfluenceLogin
Logs users in and out of Confluence via the Confluence login screen
Constructor Summary | |
---|---|
ConfluenceLogin(ConfluenceSeleniumClient confluenceClient)
|
Method Summary | |
---|---|
java.lang.String |
getLogoutPath()
The relative path of the logout screen. |
void |
logIn(User user,
java.lang.String destination,
long timeoutMillis,
boolean rememberMe,
java.lang.String language)
Logs the specified User in and redirects them to a destination page (if specified). |
void |
logOut()
Logs the current user out, after which the browser can be assumed to be on a "Logged Out" screen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceLogin(ConfluenceSeleniumClient confluenceClient)
Method Detail |
---|
public void logIn(User user, java.lang.String destination, long timeoutMillis, boolean rememberMe, java.lang.String language)
SeleniumLogin
logIn
in interface SeleniumLogin
user
- a Confluence userdestination
- (optional) a relative path (after the context)timeoutMillis
- how long to wait for the Dashboard or destination page to loadrememberMe
- whether the "Remember Me" option on the login form should be checkedlanguage
- (optional) the language to load the destination page inpublic void logOut()
SeleniumLogin
logOut
in interface SeleniumLogin
public java.lang.String getLogoutPath()
SeleniumLogin
Suite
facade.
getLogoutPath
in interface SeleniumLogin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |