com.atlassian.confluence.selenium.client
Interface SeleniumLogin

All Known Implementing Classes:
ConfluenceLogin, StudioLogin

public interface SeleniumLogin

Logs users in and out of Confluence.

Since:
v4.1

Method Summary
 String getLogoutPath()
          The relative path of the logout screen.
 void logIn(User user, String destination, long timeoutMillis, boolean rememberMe, 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.
 

Method Detail

logOut

void logOut()
Logs the current user out, after which the browser can be assumed to be on a "Logged Out" screen.


logIn

void logIn(User user,
           String destination,
           long timeoutMillis,
           boolean rememberMe,
           String language)
Logs the specified User in and redirects them to a destination page (if specified). Specifying a destination is preferred so that the calling test doesn't waste time loading the dashboard - the browser will be directed to the destination page directly from the Login screen.

Parameters:
user - a Confluence user
destination - (optional) a relative path (after the context)
timeoutMillis - how long to wait for the Dashboard or destination page to load
rememberMe - whether the "Remember Me" option on the login form should be checked
language - (optional) the language to load the destination page in

getLogoutPath

String getLogoutPath()
The relative path of the logout screen. Should only be used by the implementing class or in the Suite facade.



Copyright © 2003-2012 Atlassian. All Rights Reserved.