| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Blogs |
|
| clickAtAndWait |
//input[@value='Add Blog Entry'] |
|
| pause |
5000 |
|
| waitForVisible |
//td[@id='cke_contents__33_editor']/iframe |
CK Editor |
| selectFrame |
//td[@id='cke_contents__33_editor']/iframe |
CK Editor |
| type |
//body |
Blogs Entry Content |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertText |
xPath=(//div[@class='portlet-msg-error'])[1] |
You have entered invalid data. Please try again. |
| assertText |
xPath=(//div[@class='portlet-msg-error'])[2] |
Please enter a valid title. |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Blogs |
|
| assertTextNotPresent |
Blogs Entry Content |
|