| waitForElementPresent |
link=Web Content |
|
| clickAndWait |
link=Web Content |
|
| clickAndWait |
//input[@value='Add Web Content'] |
|
| pause |
5000 |
|
| waitForElementPresent |
_15_editor |
|
| waitForElementPresent |
FCKeditor1___Frame |
|
| waitForElementPresent |
//textarea |
|
| selectFrame |
//iframe[@id='_15_editor'] |
|
| selectFrame |
//iframe[@id='FCKeditor1___Frame'] |
|
| selectFrame |
//iframe |
|
| typeKeys |
//body |
This is a test null article |
| type |
//body |
This is a test null article! |
| selectFrame |
relative=top |
|
| clickAndWait |
//input[@value='Save and Approve'] |
|
| assertTextPresent |
You have entered invalid data. Please try again. |
|
| assertTextPresent |
Please enter a valid name. |
|
| clickAndWait |
//input[@value='Cancel'] |
|
| clickAndWait |
//li[@id='_15_tabs1web-contentTabsId']/a |
|
| assertElementNotPresent |
link=Null Test Article |
|