| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| clickAtAndWait |
//input[@value='Add Web Content'] |
|
| type |
_15_title |
CA Permissions Web Content Test |
| pause |
5000 |
|
| waitForElementPresent |
_15_structure_el_TextAreaField_content |
|
| waitForElementPresent |
cke_contents_CKEditor1 |
|
| waitForElementPresent |
//textarea |
|
| selectFrame |
//iframe[@id='_15_structure_el_TextAreaField_content'] |
|
| selectFrame |
//td[@id='cke_contents_CKEditor1']/iframe |
|
| type |
//body |
This is a ca permissions web content article! |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertElementPresent |
link=CA Permissions Web Content Test |
|
| assertElementPresent |
link=Approved |
|