| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAndWait |
link=Web Content |
|
| clickAtAndWait |
//input[@value='Add Web Content'] |
|
| type |
_15_title |
Header Web Content |
| 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 header web content. |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Save and Approve'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| clickAtAndWait |
//span/span/a |
|
| assertElementPresent |
link=Header Web Content |
|