TearDownAPArchivedSetupTest
open /web/guest/home/
waitForVisible link=Asset Publisher Test Page
clickAtAndWait link=Asset Publisher Test Page
clickAtAndWait link=Configuration
clickAtAndWait link=Archived
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) archive1Present
gotoIf !${archive1Present} Archive1NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[4]/ul/li[2]/a
clickAndWait //div[4]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label Archive1NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) archive2Present
gotoIf !${archive2Present} Archive2NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[4]/ul/li[2]/a
clickAndWait //div[4]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label Archive2NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) archive3Present
gotoIf !${archive3Present} Archive3NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[4]/ul/li[2]/a
clickAndWait //div[4]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label Archive3NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) archive4Present
gotoIf !${archive4Present} Archive4NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[4]/ul/li[2]/a
clickAndWait //div[4]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label Archive4NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) archive5Present
gotoIf !${archive5Present} Archive5NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[4]/ul/li[2]/a
clickAndWait //div[4]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label Archive5NotPresent