ChangePositions
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=Index
clickAndWait link=Faculty Member
assertTitle Faculty Member
clickAndWait link=Faculty, Jane
assertTitle Faculty, Jane
click //div[@id='wrapper-content']/ul/li[12]
verifyTextPresent Best Professor, conferred by Carroll College, 2012
verifyElementPresent link=Best Professor
verifyElementPresent link=Carroll College
verifyTextPresent Professor of the Decade, conferred by Carroll College, 2010
verifyElementPresent link=Professor of the Decade
verifyElementPresent link=Carroll College
verifyTextPresent Primate Expert, conferred by Primates-R-Us, 2005
verifyElementPresent link=Primate Expert
verifyElementPresent link=Primates-R-Us
clickAndWait css=a.edit-relatedBy > img.edit-individual
assertTitle Edit
type id=yearAwardedDisplay 2002
clickAndWait css=input.submit
assertTitle Faculty, Jane
verifyTextPresent Best Professor, conferred by Carroll College, 2002
verifyElementPresent link=Best Professor
verifyElementPresent link=Carroll College
verifyTextPresent Professor of the Decade, conferred by Carroll College, 2010
verifyElementPresent link=Professor of the Decade
verifyElementPresent link=Carroll College
verifyTextPresent Primate Expert, conferred by Primates-R-Us, 2005
verifyElementPresent link=Primate Expert
verifyElementPresent link=Primates-R-Us
clickAndWait xpath=(//img[@alt='edit this entry'])[4]
assertTitle Edit
type id=yearAwardedDisplay
type id=startField-year 2004
type id=endField-year 2005
clickAndWait css=input.submit
assertTitle Faculty, Jane
verifyTextPresent Best Professor, conferred by Carroll College, 2002
verifyElementPresent link=Best Professor
verifyElementPresent link=Carroll College
verifyTextPresent Professor of the Decade, conferred by Carroll College, 2010
verifyElementPresent link=Professor of the Decade
verifyElementPresent link=Carroll College
verifyTextPresent Primate Expert, conferred by Primates-R-Us, 2004 - 2005
verifyElementPresent link=Primate Expert
verifyElementPresent link=Primates-R-Us
clickAndWait css=a.edit-relatedBy > img.edit-individual
assertTitle Edit
type id=yearAwardedDisplay
type id=startField-year
type id=endField-year
clickAndWait css=input.submit
assertTitle Faculty, Jane
verifyTextPresent Best Professor, conferred by Carroll College, 2002
verifyElementPresent link=Best Professor
verifyElementPresent link=Carroll College
verifyTextPresent Professor of the Decade, conferred by Carroll College
verifyElementPresent link=Professor of the Decade
verifyElementPresent link=Carroll College
verifyTextPresent Primate Expert, conferred by Primates-R-Us, 2004 - 2005
verifyElementPresent link=Primate Expert
verifyElementPresent link=Primates-R-Us
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
assertTitle Faculty, Jane
verifyTextPresent Best Professor, conferred by Carroll College, 2002
verifyTextPresent Primate Expert, conferred by Primates-R-Us, 2004 - 2005
verifyTextPresent Professor of the Decade, conferred by Carroll College
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO