TearDownArchivedSetupTest
open /web/guest/home/
waitForElementPresent link=Shopping Test Page
clickAtAndWait link=Shopping Test Page
assertText //strong/a Options
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 //div[@class='archived-setups']/span/a Archive/Restore Setup
assertText //div[@class='archived-setups']/span/a Archive/Restore Setup
clickAtAndWait //div[@class='archived-setups']/span/a Archive/Restore Setup
store eval(selenium.isElementPresent('//tr[3]/td[4]/span/ul/li/strong/a')) shoppingArchivedSetup1Present
gotoIf !${shoppingArchivedSetup1Present} ShoppingArchivedSetup1NotPresent
assertText //tr[3]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[3]/td[4]/span/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]/span/ul/li/strong/a')) shoppingArchivedSetup2Present
gotoIf !${shoppingArchivedSetup2Present} ShoppingArchivedSetup2NotPresent
assertText //tr[3]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[3]/td[4]/span/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]/span/ul/li/strong/a')) shoppingArchivedSetup3Present
gotoIf !${shoppingArchivedSetup3Present} ShoppingArchivedSetup3NotPresent
assertText //tr[3]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[3]/td[4]/span/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]/span/ul/li/strong/a')) shoppingArchivedSetup4Present
gotoIf !${shoppingArchivedSetup4Present} ShoppingArchivedSetup4NotPresent
assertText //tr[3]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[3]/td[4]/span/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]/span/ul/li/strong/a')) shoppingArchivedSetup5Present
gotoIf !${shoppingArchivedSetup5Present} ShoppingArchivedSetup5NotPresent
assertText //tr[3]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[3]/td[4]/span/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