|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.TinyMce
public class TinyMce
Nested Class Summary | |
---|---|
static class |
TinyMce.Format
|
static class |
TinyMce.SimpleToolbarButton
|
Constructor Summary | |
---|---|
TinyMce(ConfluenceSeleniumClient client)
|
Method Summary | |
---|---|
void |
clickHorizontalRuler()
|
InsertCharacterPopup |
clickInsertCharacter()
|
void |
clickInsertColAfter()
|
void |
clickInsertColBefore()
|
EmoticonPickerPopup |
clickInsertEmoticon()
|
void |
clickInsertRowAfter()
|
void |
clickInsertRowBefore()
|
InsertTablePopup |
clickInsertTable()
|
ColorPickerPopup |
clickMoreColors()
|
void |
clickSelectedColor()
|
void |
clickToolbarButton(TinyMce.SimpleToolbarButton button)
|
java.lang.String |
getFirstMatchingNodeText(java.lang.String selector)
Retrieve the text of the first node that matches the given selector. |
int |
getNumberOfCols()
|
int |
getNumberOfRows()
|
java.lang.String |
getSelectorPresentScript(java.lang.String selector)
Returns a javascript function that checks for the presence of an element with given jquery selector in the TinyMCE editor. |
java.lang.String |
getSelectorScript(java.lang.String selector)
Returns a javascript function that checks for the presence of an element with given jquery selector in the TinyMCE editor. |
void |
hideFullScreen()
Returns to the normal editor from fullscreen mode and resets the active frame. |
boolean |
isToolbarButtonEnabled(TinyMce.SimpleToolbarButton button)
|
void |
pressEnter()
|
void |
selectEditorFrame()
Selects the TinyMCE iframe. |
void |
selectEmptyFirstParagraph()
|
void |
selectFirstElementWithSelector(java.lang.String selector)
Select the first element matching the given selector. |
void |
selectFirstParagraph()
|
void |
selectFormat(TinyMce.Format format)
|
void |
selectFullscreenFrame()
Selects the TinyMCE fullscreen iframe. |
void |
selectMainFrame()
Selects the main/top frame for Confluence. |
void |
selectTextColor(java.lang.String rgbColor)
|
void |
setContent(java.lang.String content)
|
void |
showFullScreen()
Clicks the fullscreen toolbar icon in the TinyMCE editor. |
void |
type(java.lang.String content)
Only works for non-IE tests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TinyMce(ConfluenceSeleniumClient client)
Method Detail |
---|
public void selectEditorFrame()
selectMainFrame()
to reselect the main outer frame.
public void selectFullscreenFrame()
selectMainFrame()
to reselect the main outer frame.
public void selectMainFrame()
public void showFullScreen()
hideFullScreen()
) in a finally block.
public void hideFullScreen()
public void selectFormat(TinyMce.Format format)
public boolean isToolbarButtonEnabled(TinyMce.SimpleToolbarButton button)
public void clickToolbarButton(TinyMce.SimpleToolbarButton button)
public void clickHorizontalRuler()
public InsertTablePopup clickInsertTable()
public void clickInsertRowBefore()
public void clickInsertRowAfter()
public void clickInsertColBefore()
public void clickInsertColAfter()
public EmoticonPickerPopup clickInsertEmoticon()
public InsertCharacterPopup clickInsertCharacter()
public void clickSelectedColor()
public void selectTextColor(java.lang.String rgbColor)
public ColorPickerPopup clickMoreColors()
public int getNumberOfRows()
public int getNumberOfCols()
public void setContent(java.lang.String content)
public void type(java.lang.String content)
public void selectFirstElementWithSelector(java.lang.String selector)
selector
- see tiny_mce_src.DOMUtils.selectpublic void selectEmptyFirstParagraph()
public void selectFirstParagraph()
public void pressEnter()
public java.lang.String getSelectorPresentScript(java.lang.String selector)
public java.lang.String getSelectorScript(java.lang.String selector)
public java.lang.String getFirstMatchingNodeText(java.lang.String selector)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |