| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| assertText |
//td[3]/a |
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 |
| clickAt |
//td[9]/ul/li/strong/a |
Actions |
| waitForVisible |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
Edit |
| assertText |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
Edit |
| clickAndWait |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
Edit |
| assertText |
//span[2]/strong |
1.0 |
| assertText |
//span[3]/strong |
Approved |
| type |
_15_title |
Web Content Name Edited |
| 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 Edited |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Save as Draft'] |
|
| assertText |
//div[@class='portlet-msg-success'] |
Your request processed successfully. |
| assertText |
//span[2]/strong |
1.1 |
| assertText |
//span[3]/strong |
Draft |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| assertText |
//td[3]/a |
Web Content Name Edited |
| assertText |
//td[4]/a |
1.1 |
| assertText |
//td[5]/a |
Draft |
| assertElementPresent |
//td[6]/a |
Modified Date |
| assertElementPresent |
//td[7]/a |
Display Date |
| assertText |
//td[8]/a |
Joe Bloggs |