com.atlassian.jira.webtest.framework.impl.selenium.component
Class SeleniumDDSection<P extends PageObject>

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.core.component.AbstractSeleniumComponent<AjsDropdown<P>>
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.component.SeleniumDDSection<P>
All Implemented Interfaces:
AjsDropdown.Section<P>, Component<AjsDropdown<P>>, Localizable, PageObject

public class SeleniumDDSection<P extends PageObject>
extends AbstractSeleniumComponent<AjsDropdown<P>>
implements AjsDropdown.Section<P>

Selenium AjsDropdown.Section implementation.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected SeleniumDDSection(AbstractSeleniumDropdown<P> parent, SeleniumContext context, String id, String header)
           
 
Method Summary
protected  SeleniumLocator detector()
          Main locator of this page object.
 boolean hasHeader()
          Check whether this section has header.
 String header()
          Header of the section
 String id()
          Unique ID of the section
 TimedQuery<List<AjsDropdown.Item<P>>> items()
          All items of this section.
 SeleniumLocator locator()
          Locator unambiguously locating this page object.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.component.AbstractSeleniumComponent
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.core.component.Component
parent
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

SeleniumDDSection

protected SeleniumDDSection(AbstractSeleniumDropdown<P> parent,
                            SeleniumContext context,
                            String id,
                            String header)
Method Detail

id

public String id()
Description copied from interface: AjsDropdown.Section
Unique ID of the section

Specified by:
id in interface AjsDropdown.Section<P extends PageObject>
Returns:
ID of the section

header

public String header()
Description copied from interface: AjsDropdown.Section
Header of the section

Specified by:
header in interface AjsDropdown.Section<P extends PageObject>
Returns:
header of the section

hasHeader

public boolean hasHeader()
Description copied from interface: AjsDropdown.Section
Check whether this section has header.

Specified by:
hasHeader in interface AjsDropdown.Section<P extends PageObject>
Returns:
true, if this section has header, false otherwise

locator

public SeleniumLocator locator()
Description copied from interface: Localizable
Locator unambiguously locating this page object.

Specified by:
locator in interface Localizable
Returns:
locator

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

items

public TimedQuery<List<AjsDropdown.Item<P>>> items()
Description copied from interface: AjsDropdown.Section
All items of this section.

Specified by:
items in interface AjsDropdown.Section<P extends PageObject>
Returns:
all items of this section


Copyright © 2002-2013 Atlassian. All Rights Reserved.