com.atlassian.jira.webtest.framework.impl.selenium.dialog
Class AbstractSeleniumAuiDialog<T extends Dialog<T>>
java.lang.Object
com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumDialog<T>
com.atlassian.jira.webtest.framework.impl.selenium.dialog.AbstractSeleniumAuiDialog<T>
- All Implemented Interfaces:
- Localizable, Openable<T>, PageObject, Dialog<T>
- Direct Known Subclasses:
- AbstractIssueActionDialog, AbstractSeleniumAuiPageDialog, SeleniumDotDialog
public abstract class AbstractSeleniumAuiDialog<T extends Dialog<T>>
- extends AbstractSeleniumDialog<T>
- implements Dialog<T>
Abstract Selenium Dialog
implementation representing an AUI
dialog.
AUI dialogs are opened as a layer on top of the current page. Each AUI dialog contains an unique ID and when open and
its contents loaded, it adds a special CSS marker class to its DIV container.
- Since:
- v4.3
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable |
locator |
AbstractSeleniumAuiDialog
protected AbstractSeleniumAuiDialog(SeleniumContext context,
String dialogId)
- Subclasses must provide unique ID for given dialog type. This id is used as an identifier of the div element
serving as a container of the dialog.
- Parameters:
context
- current selenium test contextdialogId
- unique HTML id of the dialog container div
getOpenDialogClass
protected String getOpenDialogClass()
openDialogLocator
protected SeleniumLocator openDialogLocator()
- Description copied from class:
AbstractSeleniumDialog
- Unique locator of an open dialog.
- Specified by:
openDialogLocator
in class AbstractSeleniumDialog<T extends Dialog<T>>
- Returns:
- open dialog locator
cancelLinkLocator
protected final SeleniumLocator cancelLinkLocator()
Copyright © 2002-2012 Atlassian. All Rights Reserved.