com.atlassian.confluence.pageobjects.component.dialog
Class Dialog
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
com.atlassian.confluence.pageobjects.component.dialog.Dialog
- All Implemented Interfaces:
- PageComponent
- Direct Known Subclasses:
- BlueprintDialog, EmailToPageDialog, ImageBrowserDialog, KeyboardShortcutHelperDialog, LabelsDialog, LinkBrowserDialog, MacroBrowserDialog, ProjectShortcutsDialog, RemoveTemplateDialog, SymbolDialog, WhatsNewDialog, WikiMarkupDialog
public class Dialog
- extends AbstractDialog
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog |
id |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dialog
public Dialog(String id)
getTitle
public String getTitle()
clickButton
protected void clickButton(String className,
boolean waitForDialogToClose)
clickLink
protected void clickLink(String className,
boolean waitForDialogToClose)
hasButton
public boolean hasButton(String className)
hasLink
public boolean hasLink(String className)
isButtonDisabled
public boolean isButtonDisabled(String className)
clickPageMenu
protected void clickPageMenu(String menuItemText)
hasPageMenu
protected boolean hasPageMenu(String menuItemText)
clickCancel
public void clickCancel()
- Clicks the 'Cancel' link (anything in the dialog with a "button-panel-cancel-link" class.
Fails if link does not exist.
find
protected com.atlassian.pageobjects.elements.PageElement find(String cssSelector)
findAll
protected List<com.atlassian.pageobjects.elements.PageElement> findAll(String cssSelector)
Copyright © 2003-2013 Atlassian. All Rights Reserved.