| 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 |
Web Content Name |
| pause |
5000 |
|
| waitForVisible |
//td[@id='cke_contents__15__15_structure_el_TextAreaField_content']/iframe |
CK Editor |
| selectFrame |
//td[@id='cke_contents__15__15_structure_el_TextAreaField_content']/iframe |
CK Editor |
i
| type |
//body |
Web Content Content |
| selectFrame |
relative=top |
top |
| assertElementPresent |
//select[@id='_15_expirationDateMonth' and @disabled='disabled'] |
|
| assertElementPresent |
//select[@id='_15_expirationDateDay' and @disabled='disabled'] |
|
| assertElementPresent |
//select[@id='_15_expirationDateYear' and @disabled='disabled'] |
|
| assertElementPresent |
//select[@name='_15_expirationDateHour' and @disabled='disabled'] |
|
| assertElementPresent |
//select[@name='_15_expirationDateMinute' and @disabled='disabled'] |
|
| assertElementPresent |
//select[@name='_15_expirationDateAmPm' and @disabled='disabled'] |
|
| assertChecked |
_15_neverExpireCheckbox |
Never Auto Expire |
| clickAt |
_15_neverExpireCheckbox |
Never Auto Expire |
| assertNotChecked |
_15_neverExpireCheckbox |
Never Auto Expire |
| assertElementNotPresent |
//select[@id='_15_expirationDateMonth' and @disabled='disabled'] |
|
| assertElementNotPresent |
//select[@id='_15_expirationDateDay' and @disabled='disabled'] |
|
| assertElementNotPresent |
//select[@id='_15_expirationDateYear' and @disabled='disabled'] |
|
| assertElementNotPresent |
//select[@name='_15_expirationDateHour' and @disabled='disabled'] |
|
| assertElementNotPresent |
//select[@name='_15_expirationDateMinute' and @disabled='disabled'] |
|
| assertElementNotPresent |
//select[@name='_15_expirationDateAmPm' and @disabled='disabled'] |
|
| select |
_15_expirationDateMonth |
label=December |
| select |
_15_expirationDateDay |
label=31 |
| select |
_15_expirationDateYear |
label=2015 |
| select |
_15_expirationDateHour |
label=12 |
| select |
_15_expirationDateMinute |
label=:00 |
| select |
_15_expirationDateAmPm |
label=AM |
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertText |
//section/div/div/div/div |
Your request processed successfully. |
| assertText |
//td[3]/a |
Web Content Name |
| assertText |
//td[4]/a |
Approved |
| clickAtAndWait |
//td[3]/a |
Web Content Name |
| pause |
5000 |
|
| assertNotChecked |
_15_neverExpireCheckbox |
Never Auto Expire |
| assertSelectedLabel |
_15_expirationDateMonth |
December |
| assertSelectedLabel |
_15_expirationDateDay |
31 |
| assertSelectedLabel |
_15_expirationDateYear |
2015 |
| assertSelectedLabel |
_15_expirationDateHour |
12 |
| assertSelectedLabel |
_15_expirationDateMinute |
:00 |
| assertSelectedLabel |
_15_expirationDateAmPm |
AM |