ValidateFields
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=Furter, Frank
assertTitle Furter, Frank
click //div[@id='wrapper-content']/ul/li[4]
clickAndWait css=a.add-relatedBy > img.add-individual
assertTitle Edit
verifyTextPresent Create publication entry for Furter, Frank
verifyTextPresent Publication Type
verifyTextPresent Title
verifyTextPresent Publication Date
clickAndWait link=Cancel
assertTitle Furter, Frank
clickAndWait css=a.add-relatedBy > img.add-individual
assertTitle Edit
verifyTextPresent Create publication entry for Furter, Frank
verifyTextPresent Publication Type
verifyTextPresent Title
verifyTextPresent Publication Date
select typeSelector label=Chapter
click link=Cancel
clickAndWait css=a.add-relatedBy > img.add-individual
assertTitle Edit
verifyTextPresent Create publication entry for Furter, Frank
verifyTextPresent Publication Type
verifyTextPresent Title
verifyTextPresent Publication Date
select typeSelector label=Chapter
verifyTextPresent Create publication entry for Furter, Frank
verifyTextPresent Publication Type
verifyTextPresent Title
verifyTextPresent Published in
verifyTextPresent Editor: Last name
verifyTextPresent First name
verifyTextPresent Publisher
verifyTextPresent Place of Publication
verifyTextPresent Volume
verifyTextPresent Chapter
verifyTextPresent Start Page
verifyTextPresent End Page
verifyTextPresent Publication Date
clickAndWait submit
assertTitle Edit
verifyTextPresent Please select an existing publication in the Title field or enter a new one.
assertTitle Edit
verifyTextPresent Create publication entry for Furter, Frank
verifyTextPresent Publication Type
select typeSelector label=Chapter
verifyTextPresent Title
type id=title Nintendo O.K. for Kids
type id=book Raising Children in the 21st Century
type id=editor Mouse
type id=firstName Minnie
type id=publisher Marcel Dekker
type id=locale New York
type id=volume 1
type id=chapterNbr 15
type id=startPage 123
type id=endPage 144
type id=dateTime-year 2009
clickAndWait id=submit
assertTitle Furter, Frank
verifyTextPresent chapter
verifyElementPresent link=Nintendo O.K. for Kids
verifyTextPresent Nintendo O.K. for Kids.  Raising Children in the 21st Century. Ed. Mouse, Minnie.  New York: Marcel Dekker. 123-144.  2009
clickAndWait link=Nintendo O.K. for Kids
click //div[@id='wrapper-content']/ul/li[16]
clickAndWait css=img.add-individual
assertTitle Upload image for Nintendo O.K. for Kids
verifyTextPresent Photo Upload
verifyTextPresent Current Photo
verifyTextPresent Upload a photo (JPEG, GIF or PNG)
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //img[@alt='add']
assertTitle Upload image for Nintendo O.K. for Kids
type datafile C:\VIVO\vivo\utilities\acceptance-tests\suites\AddPublications\
intendo-logo.jpg
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //img[@alt='add']
assertTitle Upload image for Nintendo O.K. for Kids
type datafile C:\VIVO\vivo\utilities\acceptance-tests\suites\AddPublications\nintendo-logo.jpg
clickAndWait //input[@value='Upload photo']
assertTitle Crop Photo for Nintendo O.K. for Kids
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //img[@alt='add']
assertTitle Upload image for Nintendo O.K. for Kids
type datafile C:\VIVO\vivo\utilities\acceptance-tests\suites\AddPublications\nintendo-logo.jpg
clickAndWait //input[@value='Upload photo']
assertTitle Crop Photo for Nintendo O.K. for Kids
verifyTextPresent Photo Upload
clickAndWait css=input.submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=img.add-individual
assertTitle Edit
verifyTextPresent Nintendo O.K. for Kids
verifyTextPresent Manage Web Pages
verifyTextPresent This individual currently has no web pages specified. Add a new web page by clicking on the button below.
clickAndWait id=showAddForm
assertTitle Edit
verifyTextPresent Add webpage for Nintendo O.K. for Kids
verifyTextPresent URL Type
verifyTextPresent URL
verifyTextPresent Webpage Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=img.add-individual
assertTitle Edit
clickAndWait id=showAddForm
assertTitle Edit
clickAndWait id=submit
assertTitle Edit
verifyTextPresent url: This field must not be empty.
verifyTextPresent urlType: This field must not be empty.
select name=urlType label=Standard Web Link
clickAndWait id=submit
assertTitle Edit
verifyTextPresent url: This field must not be empty.
type url http://www.nintendo.com/
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=img.add-individual
assertTitle Edit
verifyTextPresent Manage Web Pages
clickAndWait link=Edit
assertTitle Edit
type id=anchor Company Homepage
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-relatedBy > img.add-individual
assertTitle Edit
verifyTextPresent Nintendo O.K. for Kids
verifyTextPresent Manage Authors
verifyTextPresent Furter, Frank
clickAndWait id=returnLink
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-relatedBy > img.add-individual
assertTitle Edit
click showAddFormButton
verifyTextPresent Nintendo O.K. for Kids
verifyTextPresent Manage Authors
verifyTextPresent Furter, Frank
verifyTextPresent Add an Author
verifyTextPresent Last name
verifyTextPresent First name
verifyTextPresent Middle name
click link=Cancel
click showAddFormButton
verifyTextPresent Nintendo O.K. for Kids
verifyTextPresent Manage Authors
verifyTextPresent Furter, Frank
verifyTextPresent Add an Author
verifyTextPresent Last name
verifyTextPresent First name
verifyTextPresent Middle name
type id=lastName Mous
click id=ui-active-menuitem
clickAndWait id=submit
assertTitle Edit
clickAndWait id=returnLink
assertTitle Nintendo O.K. for Kids
verifyTextPresent Furter, Frank
verifyTextPresent Mouse, Minnie
clickAndWait //h3[@id='chapter']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: chapter
verifyTextPresent A chapter number. NOT to be used for the chapter title, which should be entered in the "name" field instead (the field in bold at the top of the page)
clickAndWait link=Cancel
pause 10000
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='chapter']/a/img
assertTitle Edit
waitForElementPresent tinymce
type tinymce 15
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='features']/a/img
assertTitle Edit
verifyTextPresent Add an entry to: features
verifyTextPresent This relates an information resource to a person it features.
verifyTextPresent Features Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='features']/a/img
assertTitle Edit
verifyTextPresent Add an entry to: features
verifyTextPresent This relates an information resource to a person it features.
verifyTextPresent Features Name
type id=object Mouse
click id=ui-active-menuitem
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
verifyTextPresent Mouse, Minnie  Person
verifyElementPresent css=a[title="name"]
clickAndWait //h3[@id='abstract']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: abstract
verifyTextPresent A summary of the resource.
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='abstract']/a/img
assertTitle Edit
waitForElementPresent tinymce
type tinymce This is a chapter in a book that provides various professional viewpoints as to the impact of Nintendo usage on kids.
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='presentedAt']/a/img
assertTitle Edit
verifyTextPresent Select an existing Event for Nintendo O.K. for Kids
verifyTextPresent Relates a document to an event; for example, a paper to a conference.
verifyTextPresent Event Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='presentedAt']/a/img
assertTitle Edit
verifyTextPresent Select an existing Event for Nintendo O.K. for Kids
verifyTextPresent Relates a document to an event; for example, a paper to a conference.
verifyTextPresent Event Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
select id=typeOfNew label=Conference (bibo)
clickAndWait id=offerCreate
assertTitle Edit
verifyTextPresent Create "presented at" entry for Nintendo O.K. for Kids
type name Kids Now!
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='status']/a/img
assertTitle Edit
verifyTextPresent Add an entry to: status
verifyTextPresent Status Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='status']/a/img
assertTitle Edit
verifyTextPresent Add an entry to: status
verifyTextPresent Status Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-status > img.add-individual
assertTitle Edit
select objectVar label=published
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-BFO_0000051 > img.add-individual
assertTitle Edit
verifyTextPresent Add an entry to: has part
verifyTextPresent Has Part Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-BFO_0000051 > img.add-individual
assertTitle Edit
verifyTextPresent Add an entry to: has part
verifyTextPresent Has Part Name
select typeOfNew label=Document Part (bibo)
clickAndWait id=offerCreate
assertTitle Edit
type name Kids Now Conference Proceedings
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-BFO_0000050 > img.add-individual
assertTitle Edit
verifyTextPresent Add an entry to: part of
verifyTextPresent Part Of Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-BFO_0000050 > img.add-individual
assertTitle Edit
verifyTextPresent Add an entry to: part of
verifyTextPresent Part Of Name
select typeOfNew label=Book (bibo)
clickAndWait id=offerCreate
assertTitle Edit
type name Nintendo: Good or Bad for Kids?
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='geographicFocus']/a/img
assertTitle Edit
verifyTextPresent Select an existing Geographic Region for Nintendo O.K. for Kids
verifyTextPresent Geographic Region Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='geographicFocus']/a/img
assertTitle Edit
verifyTextPresent Select an existing Geographic Region for Nintendo O.K. for Kids
verifyTextPresent Geographic Region Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
type id=object United States of
click id=ui-active-menuitem
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='oclcnum']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: Online Computer Library Center (OCLC) number
verifyTextPresent An oclcnum is a sequential accession number assigned by OCLC as bibliographic records are entered into OCLC WorldCat (the OCLC Online Union Catalog).
clickAndWait link=Cancel
pause 10000
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='oclcnum']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: Online Computer Library Center (OCLC) number
verifyTextPresent An oclcnum is a sequential accession number assigned by OCLC as bibliographic records are entered into OCLC WorldCat (the OCLC Online Union Catalog).
waitForElementPresent tinymce
type tinymce 1234-5678-90
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='pmid']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: PubMed ID
verifyTextPresent A PMID (PubMed Identifier or PubMed Unique Identifier) is a unique number assigned to each PubMed citation of life sciences and biomedical scientific journal articles.
clickAndWait link=Cancel
pause 5000
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='pmid']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: PubMed ID
verifyTextPresent A PMID (PubMed Identifier or PubMed Unique Identifier) is a unique number assigned to each PubMed citation of life sciences and biomedical scientific journal articles.
waitForElementPresent tinymce
type tinymce 123456789
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='numPages']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: number of pages
clickAndWait link=Cancel
pause 5000
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='numPages']/a/img
assertTitle Edit
waitForElementPresent tinymce
type tinymce 22
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='hasSubjectArea']/a/img
assertTitle Edit
verifyTextPresent Manage Concepts
verifyTextPresent There are currently no concepts specified.
verifyElementPresent link=Return to Profile Page
clickAndWait link=Return to Profile Page
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='hasSubjectArea']/a/img
assertTitle Edit
verifyTextPresent Manage Concepts
verifyTextPresent There are currently no concepts specified.
verifyElementPresent link=Return to Profile Page
click id=showAddFormButton
clickAndWait link=Create your own concept
assertTitle Edit
verifyTextPresent Create Your Own Concept
verifyTextPresent Concept
verifyElementPresent link=Return to Manage Concepts
type id=relatedIndLabel Child Development
clickAndWait id=submit
assertTitle Edit
verifyTextPresent Manage Concepts
verifyTextPresent Concept (Type)
verifyTextPresent Vocabulary Source
verifyTextPresent Child Development
verifyElementPresent link=Remove
verifyElementPresent link=Return to Profile Page
clickAndWait link=Return to Profile Page
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='freetextKeyword']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: keywords
verifyTextPresent Intended for a word or short phrase only where no instance of a controlled vocabulary can be identified. Can also be used to help in highlighting subtle difference in work.
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='freetextKeyword']/a/img
assertTitle Edit
verifyTextPresent Add new entry for: keywords
verifyTextPresent Intended for a word or short phrase only where no instance of a controlled vocabulary can be identified. Can also be used to help in highlighting subtle difference in work.
waitForElementPresent tinymce
type tinymce Children
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='reproducedIn']/a/img
assertTitle Edit
verifyTextPresent Select an existing Document for Nintendo O.K. for Kids
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='reproducedIn']/a/img
assertTitle Edit
select objectVar label=Nintendo: Good or Bad for Kids?
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='reproduces']/a/img
assertTitle Edit
verifyTextPresent Add an entry to: reproduces
verifyTextPresent Reproduces Name
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait //h3[@id='reproduces']/a/img
assertTitle Edit
verifyTextPresent Add an entry to: reproduces
verifyTextPresent Reproduces Name
select id=objectVar label=Kids Now Conference Proceedings
clickAndWait submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-documentationFor > img.add-individual
assertTitle Edit
click css=label
verifyTextPresent Add an entry to: documentation for
verifyTextPresent Documentation For Name *
verifyElementPresent link=Cancel
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-documentationFor > img.add-individual
assertTitle Edit
type id=object Kids
click id=ui-active-menuitem
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-hasGlobalCitationFrequency > img.add-individual
assertTitle Edit
verifyTextPresent Select an existing Global Citation Count for Nintendo O.K. for Kids
verifyTextPresent Global Citation Count Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-hasGlobalCitationFrequency > img.add-individual
assertTitle Edit
clickAndWait id=offerCreate
assertTitle Edit
verifyTextPresent Select an existing Global Citation Count for Nintendo O.K. for Kids
verifyTextPresent Global Citation Count Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait id=offerCreate
assertTitle Edit
type id=name 99
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-presentedAt > img.add-individual
assertTitle Edit
verifyTextPresent Select an existing Event for Nintendo O.K. for Kids
verifyTextPresent Relates a document to an event; for example, a paper to a conference.
verifyTextPresent Event Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait id=offerCreate
assertTitle Edit
verifyTextPresent Create "presented at" entry for Nintendo O.K. for Kids
verifyElementPresent link=Cancel
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-presentedAt > img.add-individual
assertTitle Edit
verifyTextPresent Select an existing Event for Nintendo O.K. for Kids
verifyTextPresent Relates a document to an event; for example, a paper to a conference.
verifyTextPresent Event Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait id=offerCreate
assertTitle Edit
verifyTextPresent Create "presented at" entry for Nintendo O.K. for Kids
verifyElementPresent link=Cancel
type id=name Kids Now Conference
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-BFO_0000050 > img.add-individual
assertTitle Edit
verifyTextPresent Add an entry to: part of
verifyTextPresent Part Of Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-partOf > img.add-individual
assertTitle Edit
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-citedBy > img.add-individual
assertTitle Edit
verifyTextPresent Select an existing Information Content Entity for Nintendo O.K. for Kids
verifyTextPresent Information Content Entity Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait link=Cancel
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-citedBy > img.add-individual
assertTitle Edit
verifyTextPresent Select an existing Information Content Entity for Nintendo O.K. for Kids
verifyTextPresent Information Content Entity Name
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait id=offerCreate
assertTitle Edit
verifyElementPresent link=Cancel
verifyTextPresent Create "cited by" entry for Nintendo O.K. for Kids
type id=name Kids Today
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-cites > img.add-individual
assertTitle Edit
verifyTextPresent Select an existing Document for Nintendo O.K. for Kids
verifyTextPresent If you don't find the appropriate entry on the selection list above:
verifyElementPresent link=Cancel
clickAndWait id=offerCreate
assertTitle Edit
type id=name Kids of the 21st Century
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
clickAndWait css=a.add-cites > img.add-individual
assertTitle Edit
clickAndWait id=offerCreate
assertTitle Edit
type id=name Children Today
clickAndWait id=submit
assertTitle Nintendo O.K. for Kids
verifyElementPresent //img[@title='click to view larger image']
verifyElementPresent link=Company Homepage
verifyTextPresent Company Homepage
verifyElementPresent link=Furter, Frank
verifyElementPresent link=Mouse, Minnie
verifyTextPresent 1
verifyTextPresent 9
verifyTextPresent 123
verifyTextPresent 144
verifyTextPresent Mouse, Minnie
verifyElementPresent link=Marcel Dekker
verifyTextPresent Marcel Dekker
verifyTextPresent New York
verifyTextPresent This is a chapter in a book that provides various professional viewpoints as to the impact of Nintendo usage on kids.
verifyElementPresent link=Raising Children in the 21st Century
verifyTextPresent Raising Children in the 21st Century
verifyElementPresent link=Kids Now!
verifyTextPresent Kids Now!
verifyElementPresent link=published
verifyTextPresent published
verifyElementPresent link=Kids Now Conference Proceedings
verifyTextPresent Kids Now Conference Proceedings
verifyElementPresent link=exact:Nintendo: Good or Bad for Kids?
verifyTextPresent Nintendo: Good or Bad for Kids?
verifyElementPresent link=United States of America
verifyTextPresent 2009
verifyTextPresent 123456789
verifyTextPresent 1234-5678-90
verifyTextPresent 15
verifyTextPresent 22
verifyElementPresent link=Child Development
verifyTextPresent Child Development
verifyTextPresent Children
verifyElementPresent link=Nintendo: Good or Bad for Kids?
verifyTextPresent Nintendo: Good or Bad for Kids?
verifyElementPresent link=Kids Now Conference Proceedings
verifyTextPresent Kids Now Conference Proceedings
clickAndWait link=Index
verifyTextPresent people
verifyTextPresent Faculty Member (1)
verifyTextPresent Person (2)
verifyTextPresent research
verifyTextPresent Book (2)
verifyTextPresent Chapter (1)
verifyTextPresent Concept (1)
verifyTextPresent events
verifyTextPresent Conference (1)
verifyTextPresent organizations
verifyTextPresent Organization (1)
verifyTextPresent Publisher (1)
clickAndWait link=Index
clickAndWait link=Faculty Member
assertTitle Faculty Member
clickAndWait link=Furter, Frank
assertTitle Furter, Frank
verifyTextPresent chapter
verifyElementPresent link=Nintendo O.K. for Kids
verifyTextPresent Nintendo O.K. for Kids.  Raising Children in the 21st Century. Ed. Mouse, Minnie.  New York: Marcel Dekker. 123-144. 2009
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO