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