DeleteValidationStuff
deleteAllVisibleCookies
setTimeout 100000
comment Delete book chapter
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 loginName testAdmin
type loginPassword Password
clickAndWait loginForm
assertTitle VIVO Site Administration
comment Navigate to the Index to find the Article link
clickAndWait link=Index
assertTitle Index to VIVO Contents
comment Verify sections are present
verifyTextPresent people
verifyTextPresent topics
verifyTextPresent events
verifyTextPresent organizations
verifyTextPresent publications
comment Delete everything added
clickAndWait link=Faculty Member
assertTitle Faculty Member
clickAndWait link=Furter, Frank
assertTitle Furter, Frank
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Person
assertTitle Person
clickAndWait link=Mouse, Minnie M
assertTitle Mouse, Minnie M
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Subject Area
assertTitle Subject Area
clickAndWait link=Child Development
assertTitle Child Development
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Conference
assertTitle Conference
clickAndWait link=Kids Now!
assertTitle Kids Now!
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Organization
assertTitle Organization
clickAndWait link=Marcel Decker
assertTitle Marcel Decker
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Book
assertTitle Book
clickAndWait link=exact:Nintendo: Good or Bad for Kids?
assertTitle exact:Nintendo: Good or Bad for Kids?
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Chapter
assertTitle Chapter
clickAndWait link=Nintendo O.K. for Kids
assertTitle Nintendo O.K. for Kids
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
click _delete
assertConfirmation Are you SURE you want to delete this entity? If in doubt, CANCEL.
pause 5000
assertTitle VIVO Site Administration
clickAndWait link=Index
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
assertTitle Index to VIVO Contents
comment Verify everything is gone
verifyTextNotPresent people
verifyTextNotPresent topics
verifyTextNotPresent events
verifyTextNotPresent organizations
verifyTextNotPresent publications
comment Logout
clickAndWait link=Log out
assertTitle VIVO