TearDownTest
waitForElementPresent link=Control Panel
clickAndWait link=Control Panel
clickAndWait link=Users
typeKeys _125_keywords TestFirst
type _125_keywords TestFirst
clickAndWait //input[@value='Search']
store eval(selenium.isElementPresent('_125_rowIds')) UsersPresent
gotoIf !${UsersPresent} No Users Present
click _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
click link=Advanced »
waitForElementPresent _125_active
select _125_active label=No
clickAndWait //input[@value='Search']
click _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
click link=« Basic
label No Users Present
clickAndWait link=Organizations
typeKeys _126_keywords Cerritos
type _126_keywords Cerritos
clickAndWait //input[@value='Search']
store eval(selenium.isElementPresent('_126_rowIds')) SuborganizationPresent
gotoIf !${SuborganizationPresent} No Suborganization Present
click //strong/span
waitForElementPresent link=Assign Members
clickAndWait link=Assign Members
click _126_allRowIds
clickAndWait //input[@value='Update Associations']
clickAndWait _126_tabs2TabsBack
click _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label No Suborganization Present
clickAndWait link=Organizations
typeKeys _126_keywords Diamond Bar
type _126_keywords Diamond Bar
clickAndWait //input[@value='Search']
store eval(selenium.isElementPresent('//strong/span')) OrganizationPresent
gotoIf !${OrganizationPresent} No Organization Present
click //strong/span
waitForElementPresent link=Assign Members
clickAndWait link=Assign Members
click _126_allRowIds
clickAndWait //input[@value='Update Associations']
clickAndWait link=Organizations
typeKeys _126_keywords Diamond Bar
type _126_keywords Diamond Bar
clickAndWait //input[@value='Search']
click _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label No Organization Present
clickAndWait link=User Groups
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent
gotoIf !${UserGroupPresent} No User Group Present
click _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label No User Group Present
clickAndWait link=Back to My Community
waitForElementPresent link=Directory Test Page
clickAndWait link=Directory Test Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
waitForElementPresent //div[2]/ul/li[1]/a
clickAndWait //div[2]/ul/li[1]/a
clickAndWait link=Manage Pages
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
clickAndWait //div[2]/ul/li[1]/a