com.atlassian.confluence.pageobjects.component.dialog
Class MacroBrowserDialog
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
com.atlassian.confluence.pageobjects.component.dialog.Dialog
com.atlassian.confluence.pageobjects.component.dialog.MacroBrowserDialog
- All Implemented Interfaces:
- PageComponent
public class MacroBrowserDialog
- extends Dialog
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog |
id |
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.Dialog |
clickButton, clickCancel, clickCancelAndWaitUntilClosed, clickLink, clickPageMenu, find, findAll, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
BROWSE_MACROS_TITLE
public static final java.lang.String BROWSE_MACROS_TITLE
- See Also:
- Constant Field Values
MacroBrowserDialog
public MacroBrowserDialog()
searchFor
public java.lang.Iterable<MacroItem> searchFor(java.lang.String text)
searchForFirst
public MacroItem searchForFirst(java.lang.String text)
- Returns the first item matching macro search text.
Should be fairly safe if the search text is the macro name.
selectMacro
public MacroForm selectMacro(java.lang.String macro)
isSelectedCategory
public com.atlassian.pageobjects.elements.query.TimedCondition isSelectedCategory(Macro.Category category)
selectCategory
public void selectCategory(Macro.Category category)
selectMacro
public MacroForm selectMacro(Macro.Category category,
java.lang.String macroName)
isMacroVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isMacroVisible(Macro.Category category,
java.lang.String macroName)
selectReturn
public void selectReturn()
selectEnter
public void selectEnter()
isSaveButtonEnabled
public com.atlassian.pageobjects.elements.query.TimedCondition isSaveButtonEnabled()
- Since:
- 5.6
clickSave
public void clickSave()
clickBack
public void clickBack()
getInsertMacroTitle
public java.lang.String getInsertMacroTitle(java.lang.String macroTitle)
getEditMacroTitle
public java.lang.String getEditMacroTitle(java.lang.String macroTitle)
Copyright © 2003-2014 Atlassian. All Rights Reserved.