com.atlassian.jira.pageobjects.pages.setup
Class MailSetupPage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.setup.MailSetupPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class MailSetupPage
extends AbstractJiraPage

Step 5 in the JIRA setup process - mail setup.

Since:
v4.4

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement from
           
protected  com.atlassian.pageobjects.elements.PageElement fromError
           
protected  com.atlassian.pageobjects.elements.PageElement hostname
           
protected  com.atlassian.pageobjects.elements.PageElement jndiLocation
           
protected  com.atlassian.pageobjects.elements.PageElement jndiLocationError
           
protected  com.atlassian.pageobjects.elements.PageElement name
           
protected  com.atlassian.pageobjects.elements.PageElement pageContent
           
protected  com.atlassian.pageobjects.elements.PageElement password
           
protected  com.atlassian.pageobjects.elements.PageElement port
           
protected  com.atlassian.pageobjects.elements.PageElement prefix
           
protected  SingleSelect protocol
           
protected  com.atlassian.pageobjects.elements.PageElement protocolContainer
           
protected  SingleSelect serviceProvider
           
protected  com.atlassian.pageobjects.elements.PageElement testButton
           
protected  com.atlassian.pageobjects.elements.PageElement timeout
           
protected  com.atlassian.pageobjects.elements.CheckboxElement tlsRequired
           
protected  com.atlassian.pageobjects.elements.PageElement username
           
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder, timeouts
 
Constructor Summary
MailSetupPage()
           
 
Method Summary
 com.atlassian.pageobjects.elements.query.Conditions.CombinableCondition areSmtpInputsVisible()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getEmailPrefix()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getFromError()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getHostName()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiError()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiLocation()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getPassword()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getPort()
           
 SingleSelect getProtocol()
           
 SingleSelect getServiceProvider()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimeout()
           
 String getUrl()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getUsername()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> getVerifyMessages()
           
 void init()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 com.atlassian.pageobjects.elements.query.TimedCondition isFromErrorVisible()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isJndiLocationVisible()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isPasswordVisible()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToJndi()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToSmtp()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isTlsRequired()
           
 MailSetupPage setEmailNotificationsEnabled(boolean enabled)
           
 MailSetupPage setEmailPrefix(String value)
           
 MailSetupPage setFrom(String from)
           
 MailSetupPage setHostName(String hostname)
           
 MailSetupPage setJndiLocation(String location)
           
 MailSetupPage setName(String name)
           
 MailSetupPage setPassword(String value)
           
 MailSetupPage setPort(String value)
           
 MailSetupPage setServerTypeToJndi()
           
 MailSetupPage setServerTypeToSmtp()
           
 MailSetupPage setTimeout(String value)
           
 MailSetupPage setTlsRequired(boolean required)
           
 MailSetupPage setUsername(String value)
           
 DashboardPage submit()
           
 DashboardPage submitDisabledEmail()
           
 MailSetupPage submitWithErrors()
           
 MailSetupPage test()
           
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageContent

protected com.atlassian.pageobjects.elements.PageElement pageContent

serviceProvider

protected SingleSelect serviceProvider

name

protected com.atlassian.pageobjects.elements.PageElement name

hostname

protected com.atlassian.pageobjects.elements.PageElement hostname

protocolContainer

protected com.atlassian.pageobjects.elements.PageElement protocolContainer

protocol

protected SingleSelect protocol

port

protected com.atlassian.pageobjects.elements.PageElement port

timeout

protected com.atlassian.pageobjects.elements.PageElement timeout

username

protected com.atlassian.pageobjects.elements.PageElement username

tlsRequired

protected com.atlassian.pageobjects.elements.CheckboxElement tlsRequired

password

protected com.atlassian.pageobjects.elements.PageElement password

from

protected com.atlassian.pageobjects.elements.PageElement from

fromError

protected com.atlassian.pageobjects.elements.PageElement fromError

prefix

protected com.atlassian.pageobjects.elements.PageElement prefix

jndiLocation

protected com.atlassian.pageobjects.elements.PageElement jndiLocation

jndiLocationError

protected com.atlassian.pageobjects.elements.PageElement jndiLocationError

testButton

protected com.atlassian.pageobjects.elements.PageElement testButton
Constructor Detail

MailSetupPage

public MailSetupPage()
Method Detail

init

public void init()

getUrl

public String getUrl()

isAt

public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
Description copied from class: AbstractJiraPage
Timed condition checking if we're at given page.

Specified by:
isAt in class AbstractJiraPage
Returns:
timed condition checking, if the test is at given page

submitDisabledEmail

public DashboardPage submitDisabledEmail()

setEmailNotificationsEnabled

public MailSetupPage setEmailNotificationsEnabled(boolean enabled)

submit

public DashboardPage submit()

submitWithErrors

public MailSetupPage submitWithErrors()

getServiceProvider

public SingleSelect getServiceProvider()

setName

public MailSetupPage setName(@Nonnull
                             String name)

setHostName

public MailSetupPage setHostName(@Nonnull
                                 String hostname)

getHostName

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getHostName()

setUsername

public MailSetupPage setUsername(@Nonnull
                                 String value)

getUsername

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getUsername()

setPassword

public MailSetupPage setPassword(@Nonnull
                                 String value)

getPassword

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPassword()

getProtocol

public SingleSelect getProtocol()

setPort

public MailSetupPage setPort(@Nonnull
                             String value)

getPort

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPort()

setTimeout

public MailSetupPage setTimeout(@Nonnull
                                String value)

getTimeout

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimeout()

setTlsRequired

public MailSetupPage setTlsRequired(boolean required)

isTlsRequired

public com.atlassian.pageobjects.elements.query.TimedCondition isTlsRequired()

isPasswordVisible

public com.atlassian.pageobjects.elements.query.TimedCondition isPasswordVisible()

setFrom

public MailSetupPage setFrom(@Nonnull
                             String from)

isFromErrorVisible

public com.atlassian.pageobjects.elements.query.TimedCondition isFromErrorVisible()

getFromError

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getFromError()

setEmailPrefix

public MailSetupPage setEmailPrefix(@Nonnull
                                    String value)

getEmailPrefix

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getEmailPrefix()

setJndiLocation

public MailSetupPage setJndiLocation(@Nonnull
                                     String location)

isServerTypeSetToJndi

public com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToJndi()

setServerTypeToJndi

public MailSetupPage setServerTypeToJndi()

setServerTypeToSmtp

public MailSetupPage setServerTypeToSmtp()

isServerTypeSetToSmtp

public com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToSmtp()

getJndiLocation

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiLocation()

getJndiError

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiError()

isJndiLocationVisible

public com.atlassian.pageobjects.elements.query.TimedCondition isJndiLocationVisible()

areSmtpInputsVisible

public com.atlassian.pageobjects.elements.query.Conditions.CombinableCondition areSmtpInputsVisible()

test

public MailSetupPage test()

getVerifyMessages

public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> getVerifyMessages()


Copyright © 2002-2014 Atlassian. All Rights Reserved.