Class EditMailServerAdminPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.EditMailServerAdminPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class EditMailServerAdminPage extends AbstractBambooAdminPage
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description EditMailServerAdminPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUrl()com.atlassian.pageobjects.elements.PageElementindicator()This must return an element whose presence indicates that we're on given page.ViewMailServerAdminPagesave()EditMailServerAdminPagesaveAndSendTestEmail()EditMailServerAdminPagewithFromAddress(String fromAddress)EditMailServerAdminPagewithMailMode(MailConfigurationService.MailMode mailMode)EditMailServerAdminPagewithName(String name)EditMailServerAdminPagewithPassword(String password)EditMailServerAdminPagewithSmtpPort(int port)EditMailServerAdminPagewithSmtpServer(String smtpServer)EditMailServerAdminPagewithSubjectPrefix(String subjectPrefix)EditMailServerAdminPagewithTestRecipient(String testRecipient)EditMailServerAdminPagewithTlsRequired(boolean useTls)EditMailServerAdminPagewithUsername(String username)EditMailServerAdminPagewithUseSmtpAuthChecked(boolean useSmtpAuth)-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
getUrl
public String getUrl()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPageThis must return an element whose presence indicates that we're on given page.- Specified by:
indicatorin classAbstractBambooPage- Returns:
- element uniquely identifying given page
-
withName
public EditMailServerAdminPage withName(String name)
-
withFromAddress
public EditMailServerAdminPage withFromAddress(String fromAddress)
-
withSubjectPrefix
public EditMailServerAdminPage withSubjectPrefix(String subjectPrefix)
-
withMailMode
public EditMailServerAdminPage withMailMode(MailConfigurationService.MailMode mailMode)
-
withSmtpServer
public EditMailServerAdminPage withSmtpServer(String smtpServer)
-
withSmtpPort
public EditMailServerAdminPage withSmtpPort(int port)
-
withUseSmtpAuthChecked
public EditMailServerAdminPage withUseSmtpAuthChecked(boolean useSmtpAuth)
-
withUsername
public EditMailServerAdminPage withUsername(String username)
-
withPassword
public EditMailServerAdminPage withPassword(String password)
-
withTlsRequired
public EditMailServerAdminPage withTlsRequired(boolean useTls)
-
withTestRecipient
public EditMailServerAdminPage withTestRecipient(String testRecipient)
-
save
public ViewMailServerAdminPage save()
-
saveAndSendTestEmail
public EditMailServerAdminPage saveAndSendTestEmail()
-
-