TearDownBlogsEntryCPTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Blogs
store eval(selenium.isElementPresent('//td[3]/span/a/span')) entry1Present
gotoIf !${entry1Present} Entry1NotPresent
assertText //td[3]/span/a/span Delete
clickAndWait //td[3]/span/a/span Delete
assertConfirmation Are you sure you want to delete this?
label Entry1NotPresent
store eval(selenium.isElementPresent('//td[3]/span/a/span')) entry2Present
gotoIf !${entry2Present} Entry2NotPresent
assertText //td[3]/span/a/span Delete
clickAndWait //td[3]/span/a/span Delete
assertConfirmation Are you sure you want to delete this?
label Entry2NotPresent
store eval(selenium.isElementPresent('//td[3]/span/a/span')) entry3Present
gotoIf !${entry3Present} Entry3NotPresent
assertText //td[3]/span/a/span Delete
clickAndWait //td[3]/span/a/span Delete
assertConfirmation Are you sure you want to delete this?
label Entry3NotPresent
store eval(selenium.isElementPresent('//td[3]/span/a/span')) entry4Present
gotoIf !${entry4Present} Entry4NotPresent
assertText //td[3]/span/a/span Delete
clickAndWait //td[3]/span/a/span Delete
assertConfirmation Are you sure you want to delete this?
label Entry4NotPresent
store eval(selenium.isElementPresent('//td[3]/span/a/span')) entry5Present
gotoIf !${entry5Present} Entry5NotPresent
assertText //td[3]/span/a/span Delete
clickAndWait //td[3]/span/a/span Delete
assertConfirmation Are you sure you want to delete this?
label Entry5NotPresent