TearDownTest
waitForElementPresent link=Message Boards
clickAtAndWait link=Message Boards
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) CategoryAPresent
gotoIf !${CategoryAPresent} No CategoryA Present
clickAt //td[5]/ul/li/strong/span
waitForElementPresent //div[4]/ul/li[5]/a
clickAndWait //div[4]/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label No CategoryA Present
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) CategoryBPresent
gotoIf !${CategoryBPresent} No CategoryB Present
clickAt //td[5]/ul/li/strong/span
waitForElementPresent //div[4]/ul/li[5]/a
clickAndWait //div[4]/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label No CategoryB Present