TearDownTest
waitForElementPresent link=Enterprise Admin Test Page
clickAndWait link=Enterprise Admin Test Page
clickAndWait link=Users
typeKeys _79_keywords selenium
type _79_keywords selenium
clickAndWait //input[@value='Search Users']
store eval(selenium.isElementPresent('_79_rowIds')) UserPresent
gotoIf !${UserPresent} NoUserPresent
click _79_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
click link=Advanced »
waitForElementPresent _79_active
select _79_active label=No
clickAndWait //input[@value='Search Users']
click _79_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
click link=« Basic
label NoUserPresent
clickAndWait link=Organizations
typeKeys _79_keywords selenium
type _79_keywords selenium
clickAndWait //input[@value='Search Organizations']
store eval(selenium.isElementPresent('_79_rowIds')) OrganizationPresent
gotoIf !${OrganizationPresent} NoOrganizationPresent
click _79_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label NoOrganizationPresent
clickAndWait link=User Groups
store eval(selenium.isElementPresent('_79_rowIds')) UserGroupPresent
gotoIf !${UserGroupPresent} NoUserGroupPresent
click _79_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label NoUserGroupPresent
clickAndWait link=Password Policies
typeKeys _79_name Test
type _79_name Test
clickAndWait //input[@value='Search Password Policies']
store eval(selenium.isElementPresent('//strong/span')) PasswordPolicyPresent
gotoIf !${PasswordPolicyPresent} NoPasswordPolicyPresent
click //strong/span
waitForElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
label NoPasswordPolicyPresent
clickAndWait link=Settings
type _79_legalId
type _79_sicCode
type _79_tickerSymbol
type _79_industry
type _79_type
select _79_timeZoneId label=(UTC ) Coordinated Universal Time
clickAndWait //input[@value='Save']
click link=Email Addresses
store eval(selenium.isElementPresent('//strong/span')) EmailAPresent
gotoIf !${EmailAPresent} NoEmailAPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoEmailAPresent
store eval(selenium.isElementPresent('//strong/span')) EmailBPresent
gotoIf !${EmailBPresent} NoEmailBPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoEmailBPresent
click link=Addresses
store eval(selenium.isElementPresent('//strong/span')) AddressAPresent
gotoIf !${AddressAPresent} NoAddressAPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoAddressAPresent
click link=Addresses
store eval(selenium.isElementPresent('//strong/span')) AddressBPresent
gotoIf !${AddressBPresent} NoAddressBPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoAddressBPresent
click link=Websites
store eval(selenium.isElementPresent('//strong/span')) WebsiteAPresent
gotoIf !${WebsiteAPresent} NoWebsiteAPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoWebsiteAPresent
click link=Websites
store eval(selenium.isElementPresent('//strong/span')) WebsiteBPresent
gotoIf !${WebsiteBPresent} NoWebsiteBPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoWebsiteBPresent
click link=Phone Numbers
store eval(selenium.isElementPresent('//strong/span')) PhoneNumberAPresent
gotoIf !${PhoneNumberAPresent} NoPhoneNumberAPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoPhoneNumberAPresent
click link=Phone Numbers
store eval(selenium.isElementPresent('//strong/span')) PhoneNumberBPresent
gotoIf !${PhoneNumberBPresent} NoPhoneNumberBPresent
click //strong/span
waitForElementPresent //body/div[2]/ul/li[2]/a
clickAndWait //body/div[2]/ul/li[2]/a
assertConfirmation Are you sure you want to delete this?
label NoPhoneNumberBPresent
clickAndWait link=Reserved Screen Names
type _79_reservedScreenNames
type _79_reservedEmailAddresses
clickAndWait //input[@value='Save']
clickAndWait link=Return to Full Page
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
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 link=Return to Full Page