public class MailServerPage extends AbstractCrowdPage
| Modifier and Type | Class and Description |
|---|---|
static class |
MailServerPage.TestEmailDialog |
| Modifier and Type | Field and Description |
|---|---|
protected com.atlassian.pageobjects.elements.PageElement |
auiFlagContainer |
protected com.atlassian.pageobjects.elements.PageElement |
fromEmail |
protected com.atlassian.pageobjects.elements.PageElement |
jndiLocation |
protected com.atlassian.pageobjects.elements.PageElement |
jndiOption |
protected com.atlassian.pageobjects.elements.PageElement |
notificationEmails |
protected com.atlassian.pageobjects.elements.PageElement |
smtpHost |
protected com.atlassian.pageobjects.elements.PageElement |
smtpOption |
protected com.atlassian.pageobjects.elements.PageElement |
smtpPassword |
protected com.atlassian.pageobjects.elements.PageElement |
smtpPort |
protected com.atlassian.pageobjects.elements.PageElement |
smtpUsername |
protected com.atlassian.pageobjects.elements.PageElement |
subjectPrefix |
protected com.atlassian.pageobjects.elements.PageElement |
testConnectionButton |
protected com.atlassian.pageobjects.elements.PageElement |
timeout |
protected com.atlassian.pageobjects.elements.PageElement |
updateButton |
protected com.atlassian.pageobjects.elements.PageElement |
useSSL |
auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, I18N, NEXT_BUTTON_SELECTOR, pageBinder, systemAdminMenu, TABLE_ROWS_SELECTOR, VALUE_DATA_ATTRIBUTE| Constructor and Description |
|---|
MailServerPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureJndi() |
void |
configureSMTP() |
String |
getFromEmail() |
String |
getJndiLocation() |
String |
getNotificationEmails() |
String |
getSmtpHost() |
String |
getSmtpPassword() |
int |
getSmtpPort() |
String |
getSmtpUsername() |
String |
getSubjectPrefix() |
int |
getTimeout() |
String |
getUrl() |
List<String> |
getValidationErrors() |
protected boolean |
isContentLoaded()
Returns whether the content has loaded.
|
boolean |
isJndiSelected() |
boolean |
isSmtpSelected() |
void |
saveConfiguration() |
void |
setFromEmail(String value) |
void |
setJndiLocation(String value) |
void |
setNotificationEmails(String value) |
void |
setSmtpHost(String value) |
void |
setSmtpPassword(String value) |
void |
setSmtpPort(String value) |
void |
setSmtpUsername(String value) |
void |
setSubjectPrefix(String value) |
void |
setTimeout(String value) |
void |
setUseSSL(boolean value) |
com.atlassian.fugue.Either<List<String>,MailServerPage.TestEmailDialog> |
tryOpenTestEmailDialog() |
getAuiMessages, getHeader, getReactMessage, isSystemAdminMenuPresent, reloadWithoutWaitingForContent, setTextField, setTextFieldValueAndPressEnter, waitUntilContentLoaded, waitUntilPageLoadprotected com.atlassian.pageobjects.elements.PageElement notificationEmails
protected com.atlassian.pageobjects.elements.PageElement fromEmail
protected com.atlassian.pageobjects.elements.PageElement subjectPrefix
protected com.atlassian.pageobjects.elements.PageElement smtpOption
protected com.atlassian.pageobjects.elements.PageElement jndiOption
protected com.atlassian.pageobjects.elements.PageElement smtpHost
protected com.atlassian.pageobjects.elements.PageElement smtpPort
protected com.atlassian.pageobjects.elements.PageElement smtpUsername
protected com.atlassian.pageobjects.elements.PageElement smtpPassword
protected com.atlassian.pageobjects.elements.PageElement timeout
protected com.atlassian.pageobjects.elements.PageElement useSSL
protected com.atlassian.pageobjects.elements.PageElement jndiLocation
protected com.atlassian.pageobjects.elements.PageElement testConnectionButton
protected com.atlassian.pageobjects.elements.PageElement updateButton
protected com.atlassian.pageobjects.elements.PageElement auiFlagContainer
protected boolean isContentLoaded()
AbstractCrowdPageAbstractCrowdPage.waitUntilContentLoaded(). Subclasses should override
this method to wait for a distinguishing content to appear. E.g. a page title.isContentLoaded in class AbstractCrowdPagepublic void setNotificationEmails(String value)
public void setFromEmail(String value)
public void setSubjectPrefix(String value)
public void configureJndi()
public void configureSMTP()
public void setSmtpHost(String value)
public void setSmtpPort(String value)
public void setSmtpUsername(String value)
public void setSmtpPassword(String value)
public void setTimeout(String value)
public void setJndiLocation(String value)
public void setUseSSL(boolean value)
public String getNotificationEmails()
public String getFromEmail()
public String getSubjectPrefix()
public boolean isSmtpSelected()
public boolean isJndiSelected()
public String getSmtpHost()
public int getSmtpPort()
public String getSmtpUsername()
public String getSmtpPassword()
public int getTimeout()
public String getJndiLocation()
public com.atlassian.fugue.Either<List<String>,MailServerPage.TestEmailDialog> tryOpenTestEmailDialog() throws com.atlassian.pageobjects.binder.PageBindingWaitException
com.atlassian.pageobjects.binder.PageBindingWaitExceptionpublic void saveConfiguration()
public String getUrl()
Copyright © 2019 Atlassian. All rights reserved.