TearDownMessageTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAndWait link=Control Panel
clickAtAndWait link=Message Boards
clickAtAndWait link=My Posts
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) message1Present
gotoIf !${message1Present} Message1NotPresent
clickAt //td[7]/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 Message1NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) message2Present
gotoIf !${message2Present} Message2NotPresent
clickAt //td[7]/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 Message2NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) message3Present
gotoIf !${message3Present} Message3NotPresent
clickAt //td[7]/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 Message3NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) message4Present
gotoIf !${message4Present} Message4NotPresent
clickAt //td[7]/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 Message4NotPresent
store eval(selenium.isElementPresent('//td[7]/ul/li/strong/a')) message5Present
gotoIf !${message5Present} Message5NotPresent
clickAt //td[7]/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 Message5NotPresent