| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Blogs |
|
| clickAtAndWait |
//input[@value='Add Blog Entry'] |
|
| pause |
5000 |
|
| waitForElementPresent |
_33_editor |
|
| waitForElementPresent |
cke_contents_CKEditor1 |
|
| waitForElementPresent |
//textarea |
|
| selectFrame |
//iframe[@id='_33_editor'] |
|
| selectFrame |
//td[@id='cke_contents_CKEditor1']/iframe |
|
| type |
//body |
This is a test null entry. |
| selectFrame |
relative=top |
|
| clickAtAndWait |
_33_saveButton |
|
| assertTextPresent |
You have entered invalid data. Please try again. |
|
| assertTextPresent |
Please enter a valid title. |
|
| clickAtAndWait |
_33_cancelButton |
|
| assertTextNotPresent |
This is a test null entry. |
|