com.atlassian.jira.webtest.framework.impl.selenium.page.admin
Class SeleniumEditGeneralConfiguration

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
          extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
              extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage<P>
                      extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumSubmittableChildPage<ViewGeneralConfiguration>
                          extended by com.atlassian.jira.webtest.framework.impl.selenium.page.admin.SeleniumEditGeneralConfiguration
All Implemented Interfaces:
PageObject, Submittable<ViewGeneralConfiguration>, EditGeneralConfiguration, ChildPage<ViewGeneralConfiguration>, Page, SubmittableChildPage<ViewGeneralConfiguration>

public class SeleniumEditGeneralConfiguration
extends AbstractSeleniumSubmittableChildPage<ViewGeneralConfiguration>
implements EditGeneralConfiguration

Represents the 'Global configuration' administration page in edit mode.

Since:
v4.2

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage
parentPage
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumEditGeneralConfiguration(SeleniumContext ctx, ViewGeneralConfiguration parent)
           
 
Method Summary
protected  Locator backLocator()
          Locator of a clickable component that will take the test back to the parent page.
protected  SeleniumLocator detector()
          Main locator of this page object.
 SeleniumEditGeneralConfiguration setExternalUserManagement(boolean enable)
          Sets the external user management option.
 SeleniumEditGeneralConfiguration setMode(String mode)
          Sets the mode to either "Private" or "Public"
 SeleniumEditGeneralConfiguration setPropertyValue(GeneralConfigurationProperty property, String newValue)
          Set global configuration property to newValue.
protected  SeleniumLocator submitLocator()
          A clickable component locator that will submit this page
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumSubmittableChildPage
submit
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage
back
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
isAt
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
isReady
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.ChildPage
back
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Submittable
submit
 

Constructor Detail

SeleniumEditGeneralConfiguration

public SeleniumEditGeneralConfiguration(SeleniumContext ctx,
                                        ViewGeneralConfiguration parent)
Method Detail

detector

protected SeleniumLocator detector()
Description copied from class: AbstractLocatorBasedPageObject
Main locator of this page object. Its presence means that this object is ready to be manipulated in the test.

Specified by:
detector in class AbstractLocatorBasedPageObject
Returns:
main locator of this page object

backLocator

protected Locator backLocator()
Description copied from class: AbstractSeleniumChildPage
Locator of a clickable component that will take the test back to the parent page.

Specified by:
backLocator in class AbstractSeleniumChildPage<ViewGeneralConfiguration>
Returns:
back component locator

submitLocator

protected SeleniumLocator submitLocator()
Description copied from class: AbstractSeleniumSubmittableChildPage
A clickable component locator that will submit this page

Specified by:
submitLocator in class AbstractSeleniumSubmittableChildPage<ViewGeneralConfiguration>
Returns:
locator of the submit component of this page

setPropertyValue

public SeleniumEditGeneralConfiguration setPropertyValue(GeneralConfigurationProperty property,
                                                         String newValue)
Description copied from interface: EditGeneralConfiguration
Set global configuration property to newValue.

Specified by:
setPropertyValue in interface EditGeneralConfiguration
Parameters:
property - property to set
newValue - new property value
Returns:
this configuration page instance

setMode

public SeleniumEditGeneralConfiguration setMode(String mode)
Description copied from interface: EditGeneralConfiguration
Sets the mode to either "Private" or "Public"

Specified by:
setMode in interface EditGeneralConfiguration
Returns:

setExternalUserManagement

public SeleniumEditGeneralConfiguration setExternalUserManagement(boolean enable)
Description copied from interface: EditGeneralConfiguration
Sets the external user management option.

Specified by:
setExternalUserManagement in interface EditGeneralConfiguration
Parameters:
enable - indicates whether to enable or disable external user management.
Returns:
this configuration page instance.


Copyright © 2002-2013 Atlassian. All Rights Reserved.