Class CreateUserPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.CreateUserPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
EditUserPage
public class CreateUserPage extends AbstractBambooPage
-
-
Field Summary
Fields Modifier and Type Field Description protected TextElement
confirmPassword
protected TextElement
jabberAddress
protected TextElement
password
protected TextElement
userEmail
protected TextElement
userFullName
protected TextElement
username
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description CreateUserPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.ViewUserPage
save()
CreateUserPage
setEmail(String email)
CreateUserPage
setFullName(String fullName)
CreateUserPage
setJabber(String jabber)
CreateUserPage
setPassword(String password)
CreateUserPage
setupUser(TestUser testUser)
CreateUserPage
setUsername(String username)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Field Detail
-
username
protected TextElement username
-
userFullName
protected TextElement userFullName
-
userEmail
protected TextElement userEmail
-
password
protected TextElement password
-
confirmPassword
protected TextElement confirmPassword
-
jabberAddress
protected TextElement jabberAddress
-
-
Method Detail
-
getUrl
public String getUrl()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
setUsername
public CreateUserPage setUsername(String username)
-
setPassword
public CreateUserPage setPassword(String password)
-
setFullName
public CreateUserPage setFullName(String fullName)
-
setEmail
public CreateUserPage setEmail(String email)
-
setJabber
public CreateUserPage setJabber(String jabber)
-
setupUser
public CreateUserPage setupUser(TestUser testUser)
-
save
public ViewUserPage save()
-
-