TearDownTest
store eval(selenium.isElementPresent('link=??')) LanguageEqualsEnglish
gotoIf !${LanguageEqualsEnglish} LanguageIsEnglish
clickAtAndWait link=Home
clickAtAndWait link=Web Content Display Localization Test Page
clickAtAndWait //img[@alt='English (United States)']
label LanguageIsEnglish
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
clickAtAndWait link=Home
clickAtAndWait link=Manage Pages
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li/ul/li[3]/a/span
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
clickAtAndWait link=Return to Full Page
clickAtAndWait link=Control Panel
waitForElementPresent link=Web Content
clickAtAndWait link=Web Content
waitForElementPresent //li[@id='_15_tabs1web-contentTabsId']/a
clickAtAndWait //li[@id='_15_tabs1web-contentTabsId']/a
waitForElementPresent _15_allRowIds
clickAt _15_allRowIds
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
clickAtAndWait link=Web Content
clickAtAndWait link=Templates
waitForElementPresent _15_allRowIds
clickAt _15_allRowIds
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected templates?
waitForElementPresent link=Structures
clickAtAndWait link=Structures
waitForElementPresent _15_allRowIds
clickAt _15_allRowIds
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected structures?