com.atlassian.jira.webtest.framework.core
Interface Submittable<T extends PageObject>

Type Parameters:
T - type of the target page object of the submit operation (the one that the submit navigates to)
All Superinterfaces:
PageObject
All Known Subinterfaces:
ConvertToSubTaskSelectTypes<P>, EditGeneralConfiguration, FlowLastPage<P,F>, FlowPage<P,N>, InstallPluginDialog, LinkIssueDialog, MoveSubTaskChooseOperation<P>, MoveSubTaskConfirmation<P>, MoveSubTaskOperationDetails<P>, SubmittableChildPage<P>, SubmittableDialog<T,P>
All Known Implementing Classes:
AbstractSeleniumConvertToSubtask, AbstractSeleniumFlowPage, AbstractSeleniumMoveSubTask, AbstractSeleniumSubmittableChildPage, SeleniumConvertToSubtaskSelectTypes, SeleniumEditGeneralConfiguration, SeleniumForm, SeleniumLinkIssueDialog, SeleniumMoveSubtaskChooseOperation, SeleniumMoveSubtaskConfirmation

public interface Submittable<T extends PageObject>
extends PageObject

A page object capable of being submitted (e.g. forms, dialogs etc.)

Since:
v4.2

Method Summary
 T submit()
           Submit this page object.
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

submit

T submit()

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().

Returns:
target page object of this submit operation.
See Also:


Copyright © 2002-2013 Atlassian. All Rights Reserved.