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

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.AbstractSeleniumPageSection<ConfigureScreen>
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.admin.SeleniumAddFieldSection
All Implemented Interfaces:
Component<ConfigureScreen>, PageObject, AddFieldSection, PageSection<ConfigureScreen>

public class SeleniumAddFieldSection
extends AbstractSeleniumPageSection<ConfigureScreen>
implements AddFieldSection

AddFieldSection in the 'Configure Screens' administration page. It is used to add set of fields to a particular tab of the currently configured screen.

Since:
v4.2

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumAddFieldSection(ConfigureScreen parentPage, SeleniumContext ctx)
           
 
Method Summary
 SeleniumLocator addFieldSelectLocator()
          Locator of the multi-select of fields.
 SeleniumLocator addFieldSubmitLocator()
          Locator of the 'Add Fields' submit button within the section.
protected  SeleniumLocator detector()
          Main locator of this page object.
 MultiSelect selectFields()
          Multi-select object representing the fields multi-select.
 SeleniumAddFieldSection submitAdd()
          Submit selected fields and add them to the screen
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPageSection
page, parent
 
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.PageSection
page
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.component.Component
parent
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

SeleniumAddFieldSection

public SeleniumAddFieldSection(ConfigureScreen parentPage,
                               SeleniumContext ctx)
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

addFieldSelectLocator

public SeleniumLocator addFieldSelectLocator()
Description copied from interface: AddFieldSection
Locator of the multi-select of fields.

Specified by:
addFieldSelectLocator in interface AddFieldSection
Returns:
field multi-select locator

addFieldSubmitLocator

public SeleniumLocator addFieldSubmitLocator()
Description copied from interface: AddFieldSection
Locator of the 'Add Fields' submit button within the section.

Specified by:
addFieldSubmitLocator in interface AddFieldSection
Returns:
'Add Fields' submit locator

selectFields

public MultiSelect selectFields()
Description copied from interface: AddFieldSection
Multi-select object representing the fields multi-select.

Specified by:
selectFields in interface AddFieldSection
Returns:
fields multi-select

submitAdd

public SeleniumAddFieldSection submitAdd()
Description copied from interface: AddFieldSection
Submit selected fields and add them to the screen

Specified by:
submitAdd in interface AddFieldSection
Returns:
this AddFieldSection instance


Copyright © 2002-2013 Atlassian. All Rights Reserved.