Class AbstractSeleniumSubmittableChildPage<P extends Page>

  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
                  extended by<P>
                      extended by<P>
All Implemented Interfaces:
PageObject, Submittable<P>, ChildPage<P>, Page, SubmittableChildPage<P>
Direct Known Subclasses:
SeleniumEditGeneralConfiguration, SeleniumForm

public abstract class AbstractSeleniumSubmittableChildPage<P extends Page>
extends AbstractSeleniumChildPage<P>
implements SubmittableChildPage<P>

Abstract implementation of the SubmittableChildPage in the Selenium World™.


Field Summary
Fields inherited from class
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
Constructor Summary
protected AbstractSeleniumSubmittableChildPage(P parentPage, SeleniumContext ctx)
Method Summary
 P submit()
           Submit this page object.
protected abstract  SeleniumLocator submitLocator()
          A clickable component locator that will submit this page
Methods inherited from class
back, backLocator
Methods inherited from class
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
detector, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface
Methods inherited from interface
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady

Constructor Detail


protected AbstractSeleniumSubmittableChildPage(P parentPage,
                                               SeleniumContext ctx)
Method Detail


protected abstract SeleniumLocator submitLocator()
A clickable component locator that will submit this page

locator of the submit component of this page


public final P submit()
Description copied from interface: Submittable

Submit this page object.

NOTE: as with most of the actions in the framework, this Submittable instance is only responsible for validating any pre-conditions that may exist for the submit operation (usually there are none), but not the results of it. It is conceivable that clients will attempt to submit page objects that contain invalid form data and, as a result, the submit operation will not result in navigating to the target object. It is up to the clients to validate if they assumptions as to the result of the operation were valid, which may be done by querying appropriate objects participating in the interaction, e.g. calling PageObject.isReady().

Specified by:
submit in interface Submittable<P extends Page>
target page object of this submit operation.
See Also:

Copyright © 2002-2013 Atlassian. All Rights Reserved.