| 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 |
|
| 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 |
Web Content Content |
| selectFrame |
relative=top |
|
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertText |
//section/div/div/div/div[1] |
You have entered invalid data. Please try again. |
| assertText |
//td[1]/div[1] |
Please enter a valid name. |