TearDownMBCategoryTest
open /web/guest/home/
waitForVisible link=Message Boards Test Page
clickAtAndWait link=Message Boards Test Page
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/a')) mbCategory1Present
gotoIf !${mbCategory1Present} MBCategory1NotPresent
clickAt //td[5]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label MBCategory1NotPresent
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/a')) mbCategory2Present
gotoIf !${mbCategory2Present} MBCategory2NotPresent
clickAt //td[5]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label MBCategory2NotPresent
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/a')) mbCategory3Present
gotoIf !${mbCategory3Present} MBCategory3NotPresent
clickAt //td[5]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label MBCategory3NotPresent
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/a')) mbCategory4Present
gotoIf !${mbCategory4Present} MBCategory4NotPresent
clickAt //td[5]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label MBCategory4NotPresent
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/a')) mbCategory5Present
gotoIf !${mbCategory5Present} MBCategory5NotPresent
clickAt //td[5]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label MBCategory5NotPresent