com.atlassian.jira.webtest.framework.impl.selenium.dialog.issueaction
Class AbstractDialogOpenMode<D extends IssueActionDialog<D>>

java.lang.Object
  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.dialog.issueaction.AbstractDialogOpenMode<D>
All Implemented Interfaces:
PageObject, IssueActionsParent.DialogOpenMode<D>
Direct Known Subclasses:
ViewIssueOpenMode

public abstract class AbstractDialogOpenMode<D extends IssueActionDialog<D>>
extends AbstractSeleniumPageObject
implements IssueActionsParent.DialogOpenMode<D>

Abstract Selenium implementation of IssueActionsParent.DialogOpenMode.

Since:
v4.3

Field Summary
protected  IssueOperation action
           
protected  D dialog
           
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected AbstractDialogOpenMode(D dialog, DotDialog dotDialog, SeleniumContext context)
           
 
Method Summary
 D byDotDialog()
          Open the dialog via the Issue Action Dialog (the 'Dot Dialog')
 D byShortcut()
          Open the dialog by its shortcut.
 TimedCondition isReady()
          Returns condition representing a query about the state of this page object: if this evaluates to true, this page object is present within the current test context and may be queried/manipulated by the test driver.
 
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
context
 
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.core.PageObject
context
 

Field Detail

dialog

protected final D extends IssueActionDialog<D> dialog

action

protected final IssueOperation action
Constructor Detail

AbstractDialogOpenMode

protected AbstractDialogOpenMode(D dialog,
                                 DotDialog dotDialog,
                                 SeleniumContext context)
Method Detail

byShortcut

public D byShortcut()
Description copied from interface: IssueActionsParent.DialogOpenMode
Open the dialog by its shortcut.

Specified by:
byShortcut in interface IssueActionsParent.DialogOpenMode<D extends IssueActionDialog<D>>
Returns:
dialog D instance
See Also:
IssueActionDialog.action(), IssueOperation.hasShortcut(), IssueOperation.shortcut()

byDotDialog

public D byDotDialog()
Description copied from interface: IssueActionsParent.DialogOpenMode
Open the dialog via the Issue Action Dialog (the 'Dot Dialog')

Specified by:
byDotDialog in interface IssueActionsParent.DialogOpenMode<D extends IssueActionDialog<D>>
Returns:
dialog D instance

isReady

public TimedCondition isReady()
Description copied from interface: PageObject
Returns condition representing a query about the state of this page object: if this evaluates to true, this page object is present within the current test context and may be queried/manipulated by the test driver.

Specified by:
isReady in interface PageObject
Returns:
condition representing availability of this page object in the current text context


Copyright © 2002-2012 Atlassian. All Rights Reserved.