| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| clickAtAndWait |
//input[@value='Add Web Content'] |
|
| click |
//fieldset/div/div/span/span/input |
Select Template |
| assertConfirmation |
Selecting a template will change the structure, available input fields, and available templates? Do you want to proceed? |
|
| waitForPopUp |
template |
30000 |
| selectWindow |
template |
|
| pause |
5000 |
|
| waitForElementPresent |
link=LOCALIZED |
|
| click |
link=LOCALIZED |
|
| selectWindow |
null |
|
| pause |
5000 |
|
| assertPartialText |
//fieldset/div/div/div/div/span |
Test Localized Structure |
| assertElementPresent |
link=Test Localized Template |
|
| assertNotChecked |
//span[2]/div/span/span/span/input[2] |
Localized (page-name) |
| clickAt |
//span[2]/div/span/span/span/input[2] |
Localized (page-name) |
| assertChecked |
//span[2]/div/span/span/span/input[2] |
Localized (page-name) |
| assertNotChecked |
//li[2]/span[2]/div/span/span/span/input[2] |
Localized (page-description) |
| clickAt |
//li[2]/span[2]/div/span/span/span/input[2] |
Localized (page-description) |
| assertChecked |
//li[2]/span[2]/div/span/span/span/input[2] |
Localized (page-description) |
| type |
_15_title |
Hello World Localized Article |
| type |
page-name |
Hello World Page Name |
| type |
page-description |
Hello World Page Description |
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Save as Draft'] |
|
| waitForTextPresent |
Your request processed successfully. |
|
| assertTextPresent |
Your request processed successfully. |
|
| waitForElementPresent |
_15_languageId |
|
| select |
_15_languageId |
label=Chinese (China) |
| pause |
5000 |
|
| type |
page-name |
世界您好 Page Name |
| type |
page-description |
世界您好 Page Description |
| pause |
5000 |
|
| clickAt |
//input[@value='Publish'] |
|
| waitForTextPresent |
Your request processed successfully. |
|
| assertTextPresent |
Your request processed successfully. |
|
| waitForElementPresent |
link=Hello World Localized Article |
|
| assertElementPresent |
link=Hello World Localized Article |
|