DeleteObjPropVisitingHours
comment Delete test Object Property visiting hours
deleteAllVisibleCookies
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Must log in as site admin
type username testAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Navigate to Object Properties
clickAndWait link=Object property hierarchy
assertTitle Object Property Hierarchy
comment Verify that visiting hours does indeed exist
verifyElementPresent link=visiting hours
comment Select to edit visiting hours
clickAndWait link=visiting hours
assertTitle Object Property Control Panel
clickAndWait //input[@value='Edit Property Record']
assertTitle Property Editing Form
comment Delete visiting hours
click _delete
assertConfirmation Are you SURE you want to delete this record? If in doubt, CANCEL.
waitForPageToLoad 5000
assertTitle Object Properties
comment Verify visiting hours is gone
verifyTextNotPresent visiting hours
comment Logout
clickAndWait link=Log out
assertTitle VIVO