com.atlassian.jira.webtest.selenium.framework.dialogs
Class QuickCreateIssue

java.lang.Object
  extended by com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
      extended by com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractDialog<T>
          extended by com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractSubmittableDialog<QuickCreateIssue>
              extended by com.atlassian.jira.webtest.selenium.framework.dialogs.QuickCreateIssue
All Implemented Interfaces:
Cancelable<SubmittableDialog>, LocalizablePageObject, PageObject, Submittable<SubmittableDialog>, Dialog, SubmittableDialog

public class QuickCreateIssue
extends AbstractSubmittableDialog<QuickCreateIssue>

'Quick create issue' dialog.

Since:
v4.2

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
assertThat, client, context
 
Constructor Summary
QuickCreateIssue(SeleniumContext ctx)
           
 
Method Summary
 String cancelTriggerLocator()
          Cancel button locator within the dialog.
 List<String> getAllIssueTypes()
           
 List<String> getAllProjectNames()
           
 boolean isOpenable()
          Test if the dialog can be opened at the current location.
 String issueTypeSelectLocator()
           
 QuickCreateIssue open()
          Open this dialog if possible.
 String projectSelectLocator()
           
 String submitTriggerLocator()
          Submit button locator within the dialog.
protected  String visibleDialogContentsLocator()
          jQuery locator of the main dialog component (when visible).
 
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractSubmittableDialog
afterSubmit, cancel, closeByEscape, submit, submit
 
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractDialog
assertReady, asTargetType, dialogContentsReadyLocator, inDialog, isClosed, isOpen, locator
 
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.dialogs.Dialog
inDialog, isClosed, isOpen
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.core.LocalizablePageObject
locator
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.core.PageObject
assertReady
 

Constructor Detail

QuickCreateIssue

public QuickCreateIssue(SeleniumContext ctx)
Method Detail

visibleDialogContentsLocator

protected String visibleDialogContentsLocator()
Description copied from class: AbstractDialog
jQuery locator of the main dialog component (when visible).

Specified by:
visibleDialogContentsLocator in class AbstractDialog<QuickCreateIssue>
Returns:
jQuery locator

cancelTriggerLocator

public String cancelTriggerLocator()
Description copied from interface: SubmittableDialog
Cancel button locator within the dialog.

Returns:
cancel button locator

submitTriggerLocator

public String submitTriggerLocator()
Description copied from interface: SubmittableDialog
Submit button locator within the dialog.

Returns:
submit button locator

projectSelectLocator

public String projectSelectLocator()

issueTypeSelectLocator

public String issueTypeSelectLocator()

isOpenable

public boolean isOpenable()
Description copied from interface: Dialog
Test if the dialog can be opened at the current location.

Returns:
true, if opening of the dialog is currently possible

getAllProjectNames

public List<String> getAllProjectNames()

getAllIssueTypes

public List<String> getAllIssueTypes()

open

public QuickCreateIssue open()
Description copied from interface: Dialog
Open this dialog if possible.

Returns:
this dialog instance


Copyright © 2002-2012 Atlassian. All Rights Reserved.