TearDownDLFolderTest
open /web/guest/home/
waitForVisible link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) dlFolder1Present
gotoIf !${dlFolder1Present} DLFolder1NotPresent
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 DLFolder1NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) dlFolder2Present
gotoIf !${dlFolder2Present} DLFolder2NotPresent
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 DLFolder2NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) dlFolder3Present
gotoIf !${dlFolder3Present} DLFolder3NotPresent
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 DLFolder3NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) dlFolder4Present
gotoIf !${dlFolder4Present} DLFolder4NotPresent
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 DLFolder4NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) dlFolder5Present
gotoIf !${dlFolder5Present} DLFolder5NotPresent
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 DLFolder5NotPresent