TearDownMBMessageTest
open /web/guest/home/
waitForVisible link=Message Boards Test Page
clickAtAndWait link=Message Boards Test Page
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) category1Present
gotoIf !${category1Present} Category1NotPresent
click //td[7]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
assertConfirmation Are you sure you want to delete this?
label Category1NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) category2Present
gotoIf !${category2Present} Category2NotPresent
click //td[7]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
assertConfirmation Are you sure you want to delete this?
label Category2NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) category3Present
gotoIf !${category3Present} Category3NotPresent
click //td[7]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
assertConfirmation Are you sure you want to delete this?
label Category3NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) category4Present
gotoIf !${category4Present} Category4NotPresent
click //td[7]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
assertConfirmation Are you sure you want to delete this?
label Category4NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) category5Present
gotoIf !${category5Present} Category5NotPresent
click //td[7]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a
assertConfirmation Are you sure you want to delete this?
label Category5NotPresent