com.atlassian.jira.webtest.selenium.framework.dialogs
Interface Dialog

All Superinterfaces:
LocalizablePageObject, PageObject
All Known Subinterfaces:
IssueActionDialog, SubmittableDialog
All Known Implementing Classes:
AbstractDialog, AbstractIssueDialog, AbstractSubmittableDialog, ActionsDialog, AddCommentDialog, AttachFileDialog, DeleteIssueLinkDialog, EditLabelsDialog, GenericDialog, LinkIssueDialog, LogWorkDialog, QuickCreateIssue, QuickCreateSubtask, WorkflowTransitionDialog

Deprecated. since v4.3. Use Dialog instead.

@Deprecated
public interface Dialog
extends PageObject, LocalizablePageObject

Represen

Since:
v4.2

Method Summary
 String inDialog(String jqueryLocator)
          Deprecated.  Returns full in-dialog jQuery locator for the locator passed in argument.
 boolean isClosed()
          Deprecated. Test if this dialog is closed.
 boolean isOpen()
          Deprecated. Test if this dialog is open.
 boolean isOpenable()
          Deprecated. Test if the dialog can be opened at the current location.
 Dialog open()
          Deprecated. Open this dialog if possible.
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.core.PageObject
assertReady
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.core.LocalizablePageObject
locator
 

Method Detail

inDialog

String inDialog(String jqueryLocator)
Deprecated. 

Returns full in-dialog jQuery locator for the locator passed in argument. The returned locator will only locate an element on an open dialog.

jqueryLocator should not contain the 'jquery=' prefix.

Parameters:
jqueryLocator - locator of an element within dialog
Returns:
full jQuery locator ready to use with selenium

isOpen

boolean isOpen()
Deprecated. 
Test if this dialog is open.

Returns:
true, if this dialog is open

isOpenable

boolean isOpenable()
Deprecated. 
Test if the dialog can be opened at the current location.

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

isClosed

boolean isClosed()
Deprecated. 
Test if this dialog is closed. That is, either isOpenable(), or isOpen() return false.

Returns:
true, if this dialog is NOT open (this includes situation where this dialog cannot be opened, se isOpenable().

open

Dialog open()
Deprecated. 
Open this dialog if possible.

Returns:
this dialog instance
Throws:
IllegalStateException - if current state does not allow for the dialog to be opened (e.g. the test is not at correct page - may be queried by means of #isOpenable), or the dialog is already opened (which may be queried by #isOpen).


Copyright © 2002-2013 Atlassian. All Rights Reserved.