TearDownOrganizationWebContentTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
pause 5000
clickAt //div[1]/div/span/a Scope Selector
waitForVisible //a[3] 3
clickAt //a[3] 3
waitForVisible //ul[3]/li[3]/a Organization Name
clickAtAndWait //ul[3]/li[3]/a Organization Name
waitForText //div[1]/div/span/a Organization Name
assertText //div[1]/div/span/a Organization Name
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