TearDownArchivedSetupTest
open /web/guest/home/
waitForElementPresent link=Shopping Test Page
clickAtAndWait link=Shopping Test Page
clickAt //strong/a Options
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
click //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
waitForVisible //span[@class='taglib-text'] Archive/Restore Setup
clickAtAndWait //span[@class='taglib-text'] Archive/Restore Setup
store eval(selenium.isElementPresent('//tr[3]/td[4]/ul/li/strong/a')) shoppingArchivedSetup1Present
gotoIf !${shoppingArchivedSetup1Present} ShoppingArchivedSetup1NotPresent
clickAt //tr[3]/td[4]/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertConfirmation Are you sure you want to delete this?
label ShoppingArchivedSetup1NotPresent
store eval(selenium.isElementPresent('//tr[3]/td[4]/ul/li/strong/a')) shoppingArchivedSetup2Present
gotoIf !${shoppingArchivedSetup2Present} ShoppingArchivedSetup2NotPresent
clickAt //tr[3]/td[4]/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertConfirmation Are you sure you want to delete this?
label ShoppingArchivedSetup2NotPresent
store eval(selenium.isElementPresent('//tr[3]/td[4]/ul/li/strong/a')) shoppingArchivedSetup3Present
gotoIf !${shoppingArchivedSetup3Present} ShoppingArchivedSetup3NotPresent
clickAt //tr[3]/td[4]/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertConfirmation Are you sure you want to delete this?
label ShoppingArchivedSetup3NotPresent
store eval(selenium.isElementPresent('//tr[3]/td[4]/ul/li/strong/a')) shoppingArchivedSetup4Present
gotoIf !${shoppingArchivedSetup4Present} ShoppingArchivedSetup4NotPresent
clickAt //tr[3]/td[4]/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertConfirmation Are you sure you want to delete this?
label ShoppingArchivedSetup4NotPresent
store eval(selenium.isElementPresent('//tr[3]/td[4]/ul/li/strong/a')) shoppingArchivedSetup5Present
gotoIf !${shoppingArchivedSetup5Present} ShoppingArchivedSetup5NotPresent
clickAt //tr[3]/td[4]/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Delete
assertConfirmation Are you sure you want to delete this?
label ShoppingArchivedSetup5NotPresent