|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebEditorElement
public class WebEditorElement
Class to handle a CKEditor element based on a iframe.
Note that the corresponding iframe is found by default using
CKEDITOR_IFRAME_LOCATOR
locator.
Following features are accessible in this page:
getHtmlContent()
: Return the content of the current requirement in an HTML format.setContent(String)
: Insert an artifact by searching for it in the default project area.Following internal features are also defined or specialized by this page:
Constructor Summary | |
---|---|
WebEditorElement(WebPage page)
|
|
WebEditorElement(WebPage page,
org.openqa.selenium.By editorIframeLocator)
|
Method Summary | |
---|---|
java.lang.String |
getHtmlContent()
Get the HTML content of the editor. |
void |
setContent(java.lang.String text)
Set the content of the editor. |
Methods inherited from class com.ibm.team.fvt.tests.web.WebElementWrapper |
---|
getText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebEditorElement(WebPage page)
public WebEditorElement(WebPage page, org.openqa.selenium.By editorIframeLocator)
Method Detail |
---|
public java.lang.String getHtmlContent()
This allows tester to modify the editor content without breaking the entire HTML content...
public void setContent(java.lang.String text)
text
- The text to set the editor content with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |