TearDownIGFolderTest
open /web/guest/home/
waitForVisible link=Image Gallery Test Page
clickAtAndWait link=Image Gallery Test Page
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) igFolder1Present
gotoIf !${igFolder1Present} IGFolder1NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label IGFolder1NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) igFolder2Present
gotoIf !${igFolder2Present} IGFolder2NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label IGFolder2NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) igFolder3Present
gotoIf !${igFolder3Present} IGFolder3NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label IGFolder3NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) igFolder4Present
gotoIf !${igFolder4Present} IGFolder4NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label IGFolder4NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) igFolder5Present
gotoIf !${igFolder5Present} IGFolder5NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label IGFolder5NotPresent