| open |
/web/staging-organization-wcd/ |
|
| waitForVisible |
link=Page Staging Organization Web Content Display |
|
| clickAtAndWait |
link=Page Staging Organization Web Content Display |
|
| assertElementNotPresent |
//body[@class='blue staging controls-visible signed-in public-page'] |
|
| clickAtAndWait |
link=View Staged Page |
|
| assertElementPresent |
//body[@class='blue staging controls-visible signed-in public-page'] |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| clickAtAndWait |
//input[@value='Add Web Content'] |
|
| type |
_15_title |
WC Web Content Name |
| pause |
5000 |
|
| waitForElementPresent |
_15_editor |
|
| waitForElementPresent |
FCKeditor1___Frame |
|
| waitForElementPresent |
xEditingArea |
|
| selectFrame |
//iframe[@id='_15_editor'] |
|
| selectFrame |
//iframe[@id='FCKeditor1___Frame'] |
|
| selectFrame |
//iframe |
|
| type |
//body |
WC Web Content Content |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Save and Approve'] |
|
| assertText |
//div[2]/div/div/div |
Your request processed successfully. |
| assertElementPresent |
//td[2]/a |
WC Web Content ID |
| assertText |
//td[3]/a |
WC Web Content Name |
| assertText |
//td[4]/a |
1.0 |
| assertText |
//td[5]/a |
Approved |
| assertElementPresent |
//td[6]/a |
Modified Date |
| assertElementPresent |
//td[7]/a |
Display Date |
| assertText |
//td[8]/a |
Joe Bloggs |