com.atlassian.jira.webtest.selenium.framework.dialogs
Class AbstractSubmittableDialog<T extends AbstractSubmittableDialog<T>>
java.lang.Object
com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractDialog<T>
com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractSubmittableDialog<T>
- All Implemented Interfaces:
- Cancelable<SubmittableDialog>, LocalizablePageObject, PageObject, Submittable<SubmittableDialog>, Dialog, SubmittableDialog
- Direct Known Subclasses:
- AbstractIssueDialog, DeleteIssueLinkDialog, QuickCreateIssue, QuickCreateSubtask
public abstract class AbstractSubmittableDialog<T extends AbstractSubmittableDialog<T>>
- extends AbstractDialog<T>
- implements SubmittableDialog
Abstract implementation of SubmittableDialog
in terms of abstract locators of
the cancel and submit button.
- Since:
- v4.2
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.selenium.framework.core.PageObject |
assertReady |
AbstractSubmittableDialog
protected AbstractSubmittableDialog(Class<T> targetType,
ActionType afterSubmit,
SeleniumContext ctx)
cancel
public final T cancel(CancelType cancelType)
- Description copied from interface:
Cancelable
- Cancel this element.
- Specified by:
cancel
in interface Cancelable<SubmittableDialog>
- Parameters:
cancelType
- type of cancel action to perform
- Returns:
- this page object
closeByEscape
public final T closeByEscape()
submit
public final SubmittableDialog submit(SubmitType st)
- Description copied from interface:
Submittable
- Submit this page object and wait for the after submit action. Equivalent to invoking #submit(true).
- Specified by:
submit
in interface Submittable<SubmittableDialog>
- Parameters:
st
- type of submit action to perform
- Returns:
- this page object
submit
public final SubmittableDialog submit(SubmitType st,
boolean waitForAction)
- Description copied from interface:
Submittable
- Submit this page object.
- Specified by:
submit
in interface Submittable<SubmittableDialog>
- Parameters:
st
- type of submit action to performwaitForAction
- if true
, the method will perform wait for this object's after submit action
to happen
- Returns:
- this page object
- See Also:
Submittable.afterSubmit()
afterSubmit
public final ActionType afterSubmit()
- Description copied from interface:
Submittable
- Type of action happening after submitting this page object.
- Specified by:
afterSubmit
in interface Submittable<SubmittableDialog>
- Returns:
- action type
- See Also:
ActionType
Copyright © 2002-2012 Atlassian. All Rights Reserved.