| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| clickAtAndWait |
//input[@value='Add Web Content'] |
|
| pause |
5000 |
|
| waitForElementPresent |
//input[@value='Select'] |
|
| clickAt |
//input[@value='Select'] |
|
| assertConfirmation |
Selecting a new structure will change the available input fields and available templates? Do you want to proceed? |
|
| selectWindow |
name=structure1 |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('link=STRUCTUREID')) |
templatePresentA |
| gotoIf |
${templatePresentA} |
TemplatePresentA |
| close |
name=structure |
|
| label |
TemplatePresentA |
|
| store |
eval(selenium.isElementPresent('link=STRUCTUREID')) |
templatePresentB |
| gotoIf |
!${templatePresentB} |
TemplateNotPresentB |
| waitForElementPresent |
link=STRUCTUREID |
|
| click |
link=STRUCTUREID |
|
| label |
TemplateNotPresentB |
|
| selectWindow |
null |
|
| pause |
5000 |
|
| waitForText |
_15_structureName |
Web Content Structure Name |
| assertText |
_15_structureName |
Web Content Structure Name |
| assertText |
//td[1]/a |
Web Content Template Name Associated |
| assertElementNotPresent |
link=Web Content Template Name |
|