TearDownWebContentTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
store eval(selenium.isVisible('link=« Basic')) basicVisible
gotoIf !${basicVisible} BasicNotVisible
clickAt link=« Basic
label BasicNotVisible
store eval(selenium.isElementPresent('_15_rowIds')) webContent1Present
gotoIf !${webContent1Present} WebContent1NotPresent
clickAt _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
label WebContent1NotPresent
store eval(selenium.isElementPresent('_15_rowIds')) webContent2Present
gotoIf !${webContent2Present} WebContent2NotPresent
clickAt _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
label WebContent2NotPresent
store eval(selenium.isElementPresent('_15_rowIds')) webContent3Present
gotoIf !${webContent3Present} WebContent3NotPresent
clickAt _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
label WebContent3NotPresent
store eval(selenium.isElementPresent('_15_rowIds')) webContent4Present
gotoIf !${webContent4Present} WebContent4NotPresent
clickAt _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
label WebContent4NotPresent
store eval(selenium.isElementPresent('_15_rowIds')) webContent5Present
gotoIf !${webContent5Present} WebContent5NotPresent
clickAt _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
label WebContent5NotPresent