com.atlassian.jira.webtest.framework.impl.selenium.component.fc
Class AbstractSeleniumFrotherControl<F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>,I extends FcInput<I,F,S>>

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.component.fc.AbstractSeleniumFrotherControl<F,S,I>
All Implemented Interfaces:
FrotherControl<F,S,I>, Localizable, PageObject
Direct Known Subclasses:
SeleniumIssuePicker

public abstract class AbstractSeleniumFrotherControl<F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>,I extends FcInput<I,F,S>>
extends AbstractLocatorBasedPageObject
implements FrotherControl<F,S,I>

Abstract implementation of FrotherControl

Author:
Dariusz Kordonski

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected AbstractSeleniumFrotherControl(String fieldId, SeleniumContext context)
           
 
Method Summary
protected  SeleniumLocator detector()
          Main locator of this page object.
 Locator inputAreaLocator()
          Locator of the FC input area.
 Locator locator()
          Locator unambiguously locating this page object.
 Locator selectModelLocator()
          Locator of this picker's underlying select model.
 Locator suggestionsLocator()
          Locator of the (open) suggestions component of this FC.
 
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.component.fc.FrotherControl
input, suggestions
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

AbstractSeleniumFrotherControl

protected AbstractSeleniumFrotherControl(String fieldId,
                                         SeleniumContext context)
Method Detail

locator

public Locator 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

inputAreaLocator

public Locator inputAreaLocator()
Description copied from interface: FrotherControl
Locator of the FC input area.

Specified by:
inputAreaLocator in interface FrotherControl<F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>,I extends FcInput<I,F,S>>
Returns:
input area locator

suggestionsLocator

public Locator suggestionsLocator()
Description copied from interface: FrotherControl
Locator of the (open) suggestions component of this FC.

Specified by:
suggestionsLocator in interface FrotherControl<F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>,I extends FcInput<I,F,S>>
Returns:
suggestions locator

selectModelLocator

public Locator selectModelLocator()
Description copied from interface: FrotherControl
Locator of this picker's underlying select model.

Specified by:
selectModelLocator in interface FrotherControl<F extends FrotherControl<F,S,I>,S extends FcSuggestions<F>,I extends FcInput<I,F,S>>
Returns:
select model locator


Copyright © 2002-2013 Atlassian. All Rights Reserved.