com.atlassian.jira.webtest.selenium.framework.dialogs
Class AddCommentDialog
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>
com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractIssueDialog<AddCommentDialog>
com.atlassian.jira.webtest.selenium.framework.dialogs.AddCommentDialog
- All Implemented Interfaces:
- Cancelable<SubmittableDialog>, LocalizablePageObject, PageObject, Submittable<SubmittableDialog>, Dialog, IssueActionDialog, SubmittableDialog
public final class AddCommentDialog
- extends AbstractIssueDialog<AddCommentDialog>
Test utility representing the Dot Dialog.
- Since:
- v4.2
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractIssueDialog |
actionName, assertNotOpen, assertReady, cancelTriggerLocator, isOpenable, issueOperation, open, openFromIssueNav, submit, submitTriggerLocator, visibleDialogContentsLocator |
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 |
AddCommentDialog
public AddCommentDialog(SeleniumContext ctx)
commentBoxLocator
public String commentBoxLocator()
dialogContentsReadyLocator
protected String dialogContentsReadyLocator()
- Description copied from class:
AbstractDialog
Subclasses may override this method to provide dialog-specific contents
locator, whose presence will indicate that the dialog contents have been
loaded and the dialog is generally ready to use.
If the locator has not prefix, it must be relative to the dialog contents
locator, as it will be appended to the main dialog locator. Locators containing
prefix will be used as the stand.
- Overrides:
dialogContentsReadyLocator
in class AbstractDialog<AddCommentDialog>
- Returns:
- dialog-specific locator of a characteristic element of dialog contents.
isInputMode
public boolean isInputMode()
isPreviewMode
public boolean isPreviewMode()
openFromViewIssue
public AddCommentDialog openFromViewIssue()
- Description copied from interface:
IssueActionDialog
- Open the dialog from View Issue.
- Specified by:
openFromViewIssue
in interface IssueActionDialog
- Overrides:
openFromViewIssue
in class AbstractIssueDialog<AddCommentDialog>
- Returns:
- this dialog instance
insertComment
public void insertComment(String text)
togglePreview
public void togglePreview()
assertIsInputMode
public void assertIsInputMode()
assertIsPreviewMode
public void assertIsPreviewMode()
Copyright © 2002-2012 Atlassian. All Rights Reserved.