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:
- ConfluenceAboutDialog, EditTemplateDescriptionDialog, EmailToPageDialog, ImageBrowserDialog, ImagePropertiesDialog, 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 |
Constructor Summary |
Dialog(java.lang.String id)
|
Method Summary |
protected void |
clickButton(java.lang.String className,
boolean waitForDialogToClose)
|
void |
clickCancel()
Clicks the 'Cancel' link (anything in the dialog with a "button-panel-cancel-link" class. |
protected void |
clickLink(java.lang.String className,
boolean waitForDialogToClose)
|
protected void |
clickPageMenu(java.lang.String menuItemText)
|
protected com.atlassian.pageobjects.elements.PageElement |
find(java.lang.String cssSelector)
|
protected java.util.List<com.atlassian.pageobjects.elements.PageElement> |
findAll(java.lang.String cssSelector)
|
java.lang.String |
getTitle()
|
boolean |
hasButton(java.lang.String className)
|
boolean |
hasLink(java.lang.String className)
|
protected boolean |
hasPageMenu(java.lang.String menuItemText)
|
boolean |
isButtonDisabled(java.lang.String className)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dialog
public Dialog(java.lang.String id)
getTitle
public java.lang.String getTitle()
clickButton
protected void clickButton(java.lang.String className,
boolean waitForDialogToClose)
clickLink
protected void clickLink(java.lang.String className,
boolean waitForDialogToClose)
hasButton
public boolean hasButton(java.lang.String className)
hasLink
public boolean hasLink(java.lang.String className)
isButtonDisabled
public boolean isButtonDisabled(java.lang.String className)
clickPageMenu
protected void clickPageMenu(java.lang.String menuItemText)
hasPageMenu
protected boolean hasPageMenu(java.lang.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(java.lang.String cssSelector)
findAll
protected java.util.List<com.atlassian.pageobjects.elements.PageElement> findAll(java.lang.String cssSelector)
Copyright © 2003-2013 Atlassian. All Rights Reserved.