TearDownMBMessageTest
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[7]/span/ul/li/strong/a')) mbMessage1Present
gotoIf !${mbMessage1Present} MBMessage1NotPresent
assertText //td[7]/span/ul/li/strong/a Actions
clickAt //td[7]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label MBMessage1NotPresent
store eval(selenium.isElementPresent('//td[7]/span/ul/li/strong/a')) mbMessage2Present
gotoIf !${mbMessage2Present} MBMessage2NotPresent
assertText //td[7]/span/ul/li/strong/a Actions
clickAt //td[7]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label MBMessage2NotPresent
store eval(selenium.isElementPresent('//td[7]/span/ul/li/strong/a')) mbMessage3Present
gotoIf !${mbMessage3Present} MBMessage3NotPresent
assertText //td[7]/span/ul/li/strong/a Actions
clickAt //td[7]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label MBMessage3NotPresent
store eval(selenium.isElementPresent('//td[7]/span/ul/li/strong/a')) mbMessage4Present
gotoIf !${mbMessage4Present} MBMessage4NotPresent
assertText //td[7]/span/ul/li/strong/a Actions
clickAt //td[7]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label MBMessage4NotPresent
store eval(selenium.isElementPresent('//td[7]/span/ul/li/strong/a')) mbMessage5Present
gotoIf !${mbMessage5Present} MBMessage5NotPresent
assertText //td[7]/span/ul/li/strong/a Actions
clickAt //td[7]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label MBMessage5NotPresent