TearDownOrganizationTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Organizations
type _126_keywords Organization Name
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('_126_rowIds')) organization1Present
gotoIf !${organization1Present} Organization1NotPresent
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label Organization1NotPresent
store eval(selenium.isElementPresent('_126_rowIds')) organization2Present
gotoIf !${organization2Present} Organization2NotPresent
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label Organization2NotPresent
store eval(selenium.isElementPresent('_126_rowIds')) organization3Present
gotoIf !${organization3Present} Organization3NotPresent
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label Organization3NotPresent
store eval(selenium.isElementPresent('_126_rowIds')) organization4Present
gotoIf !${organization4Present} Organization4NotPresent
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label Organization4NotPresent
store eval(selenium.isElementPresent('_126_rowIds')) organization5Present
gotoIf !${organization5Present} Organization5NotPresent
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label Organization5NotPresent