TearDownTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Users
waitForVisible _125_keywords
store eval(selenium.isVisible('link=« Basic')) basicVisible
gotoIf !${basicVisible} BasicNotVisible
clickAt link=« Basic
label BasicNotVisible
type _125_keywords selenium
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('_125_rowIds')) UserPresent
gotoIf !${UserPresent} NoUserPresent
clickAt _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
waitForVisible _125_active
select _125_active label=No
clickAtAndWait //div[2]/span[2]/span/input
clickAt _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
label NoUserPresent
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=User Groups
waitForVisible _127_allRowIds
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent
gotoIf !${UserGroupPresent} UserGroupNotPresent
clickAt _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label UserGroupNotPresent