com.atlassian.jira.webtest.framework.impl.selenium.page
Class AbstractSeleniumSubmittableChildPage<P extends Page>
java.lang.Object
com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage<P>
com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumSubmittableChildPage<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™.
- Since:
- v4.3
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 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 |
AbstractSeleniumSubmittableChildPage
protected AbstractSeleniumSubmittableChildPage(P parentPage,
SeleniumContext ctx)
submitLocator
protected abstract SeleniumLocator submitLocator()
- A clickable component locator that will submit this page
- Returns:
- locator of the submit component of this page
submit
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>
- Returns:
- target page object of this submit operation.
- See Also:
Copyright © 2002-2012 Atlassian. All Rights Reserved.