TearDownTest
waitForElementPresent link=Enterprise Admin Test Page
clickAtAndWait link=Enterprise Admin Test Page
clickAtAndWait link=Users
clickAtAndWait link=Password Policies
type _79_name Test
clickAtAndWait //input[@value='Search Password Policies']
store eval(selenium.isElementPresent('//strong/span')) PasswordPolicyPresent
gotoIf !${PasswordPolicyPresent} passwordPolicyNotPresent
clickAt //strong/span
waitForElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
label passwordPolicyNotPresent
clickAtAndWait //div[@id='navigation']/ul/li[1]/a
clickAtAndWait link=Manage Pages
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
clickAtAndWait link=Return to Full Page