AddLocalizedArticleTest
clickAndWait link=Web Content
clickAndWait //input[@value='Add Web Content']
click //div[2]/input[5]
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
pause 5000
selectWindow null
assertElementPresent link=Test Localized Structure
assertElementPresent link=Test Localized Template
type _15_structure_el0_content Hello World Page Name
click //input[@type='checkbox']
type _15_structure_el1_content Hello World Page Description
click //tr[2]/td/table/tbody/tr/td/fieldset/table[2]/tbody/tr/td[1]/input
type _15_title Hello World Localized Article
waitForElementPresent //input[@value="Save"]
click //input[@value="Save and Continue"]
waitForTextPresent Your request processed successfully.
select _15_languageId label=Chinese (China)
pause 5000
type _15_structure_el0_content 世界您好 Page Name
type _15_structure_el1_content 世界您好 Page Description
click //input[@value="Save and Approve"]
pause 5000
assertElementPresent link=Hello World Localized Article