TearDownWebContentScopePageTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAt //div[2]/span/a Scope Selector
waitForVisible //div[@class='lfr-panel-content']/ul/li[2]/a Web Content Display Page
assertText //div[@class='lfr-panel-content']/ul/li[2]/a Web Content Display Page
clickAtAndWait //div[@class='lfr-panel-content']/ul/li[2]/a Web Content Display Page
assertText //div[2]/span/a Web Content Display Page
clickAtAndWait link=Web Content
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