| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
Control Panel |
| clickAtAndWait |
link=Control Panel |
Control Panel |
| clickAtAndWait |
link=Communities |
Communities |
| type |
_134_name |
WC Journal Feed Community |
| clickAtAndWait |
//input[@value='Search'] |
Search |
| assertText |
//td[2]/a |
Open |
| clickAtAndWait |
//td[2]/a |
Open |
| clickAtAndWait |
link=Control Panel |
Control Panel |
| clickAtAndWait |
link=Web Content |
Web Content |
| clickAtAndWait |
//input[@value='Add Web Content'] |
Add Web Content |
| assertText |
//span[@class='portlet-title'] |
Web Content |
| type |
_15_title |
Web Content Name |
| pause |
5000 |
|
| waitForElementPresent |
_15_editor |
|
| waitForElementPresent |
FCKeditor1___Frame |
|
| waitForElementPresent |
//textarea |
|
| selectFrame |
//iframe[@id="_15_editor"] |
|
| selectFrame |
//iframe[@id="FCKeditor1___Frame"] |
|
| selectFrame |
//iframe |
|
| type |
//body |
Web Content Body |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Save and Approve'] |
Save and Approve |
| assertText |
//div[@class='portlet-msg-success'] |
Your request processed successfully. |
| assertText |
//td[3]/a |
Web Content Name |
| assertText |
//td[5]/a |
Approved |