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 |
|
verifyTextPresent |
Data Input |
|
select |
VClassURI |
label=Building (vivo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Building |
|
clickAndWait |
link=Cancel |
|
assertTitle |
VIVO Site Administration |
|
select |
VClassURI |
label=Building (vivo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Building |
|
clickAndWait |
submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
Please enter a value in the Name field. |
|
type |
label |
Jane Memorial Building |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
css=a.add-BFO_0000051 > img.add-individual |
|
assertTitle |
Edit |
|
verifyTextPresent |
There are no entries in the system from which to select. |
|
clickAndWait |
id=offerCreate |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create "rooms" entry for Jane Memorial Building |
|
type |
id=label |
Lab Admin Office |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
css=a.add-BFO_0000050 > img.add-individual |
|
assertTitle |
Edit |
|
verifyTextPresent |
If you don't find the appropriate entry on the selection list above: |
|
select |
id=typeOfNew |
label=Geographic Location (vivo) |
clickAndWait |
id=offerCreate |
|
assertTitle |
Edit |
|
type |
id=label |
Primate Quad |
clickAndWait |
id=submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
css=a.add-RO_0001015 > img.add-individual |
|
assertTitle |
Edit |
|
verifyTextPresent |
If you don't find the appropriate entry on the selection list above: |
|
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
xpath=(//img[@alt='add'])[3] |
|
assertTitle |
Edit |
|
select |
id=objectVar |
label=Primate Heart Health (Service) |
clickAndWait |
id=submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
xpath=(//h3[@id='RO_0001015']/a)[3] |
|
assertTitle |
Edit |
|
select |
id=objectVar |
label=Primate University of America (University) |
clickAndWait |
id=submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
xpath=(//img[@alt='add'])[5] |
|
assertTitle |
Edit |
|
select |
id=objectVar |
label=Primate Health Check (Event) |
clickAndWait |
id=submit |
|
assertTitle |
Jane Memorial Building |
|
verifyElementPresent |
link=Portable Primate Habitat |
|
verifyElementPresent |
link=Primate Heart Health |
|
verifyElementPresent |
link=Primate University of America |
|
verifyElementPresent |
link=Primate Health Check |
|
verifyElementPresent |
link=Lab Admin Office |
|
verifyElementPresent |
link=Primate Quad |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|