CreateLibrarian
deleteAllVisibleCookies
setTimeout 100000
open /vivo/
assertTitle VIVO
clickAndWait link=Log in
assertTitle Log in to VIVO
type loginName testAdmin@cornell.edu
type loginPassword Password
clickAndWait loginForm
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
select VClassURI label=Librarian (vivo)
clickAndWait //input[@value='Add individual of this class']
verifyTextPresent Create a new Librarian
type firstName Lily
type id=middleName Lou
type id=lastName Librarian
clickAndWait submit
assertTitle Librarian, Lily Lou
clickAndWait css=header > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual
assertTitle Edit
type id=preferredTitle Assistant Librarian
clickAndWait id=submit
assertTitle Librarian, Lily Lou
pause 10000
verifyTextPresent Librarian, Lily Lou
verifyTextPresent Assistant Librarian
clickAndWait link=Index
verifyElementPresent link=Faculty Member
verifyTextPresent Faculty Member (1)
verifyElementPresent link=Librarian
verifyTextPresent Librarian (1)
verifyElementPresent link=Person
verifyTextPresent Person (2)
clickAndWait link=Librarian
assertTitle Librarian
verifyElementPresent link=Librarian, Lily Lou
verifyTextPresent Librarian, Lily Lou Assistant Librarian
type querytext librarian
clickAndWait //input[@value='Search']
assertTitle librarian - VIVO Search Results
verifyTextPresent Search results for 'librarian'
verifyElementPresent link=Librarian, Lily Lou
verifyTextPresent Librarian, Lily Lou Assistant Librarian
clickAndWait link=Home
assertTitle VIVO
verifyTextPresent No research content found.
pause 5000
verifyElementPresent link=Faculty, Jane
verifyElementPresent link=View all ...
clickAndWait link=View all ...
assertTitle People
click link=Person (2)
pause 10000
verifyElementPresent link=Faculty, Jane
verifyTextPresent Assistant Professor
verifyElementPresent link=Librarian, Lily Lou
verifyTextPresent Assistant Librarian
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO