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=Grant (vivo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Grant |
|
clickAndWait |
link=Cancel |
|
assertTitle |
VIVO Site Administration |
|
select |
VClassURI |
label=Grant (vivo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Grant |
|
clickAndWait |
submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
Please enter a value in the name field. |
|
type |
label |
Primate Elderly Care |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='administeredBy']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Select an existing Organization for Primate Elderly Care |
|
select |
objectVar |
label=Primate Colleges of the World |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='grantAwardedBy']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Select an existing Organization for Primate Elderly Care |
|
select |
objectVar |
label=Primate Research Laboratory |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='abstract']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add new entry for: abstract |
|
waitForElementPresent |
tinymce |
|
type |
tinymce |
Purpose of grant is to determine the appropriate environment, physical activity, and diet for primates as they age. |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='grantSubcontractedThrough']/a |
|
assertTitle |
Edit |
|
select |
objectVar |
label=Primate Colleges of the World |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='totalAwardAmount']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add new entry for: total award amount |
|
waitForElementPresent |
tinymce |
|
type |
tinymce |
$1,234,567 |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='grantDirectCosts']/a/img |
|
assertTitle |
Edit |
|
waitForElementPresent |
tinymce |
|
type |
tinymce |
$999,999 |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='sponsorAwardId']/a/img |
|
assertTitle |
Edit |
|
waitForElementPresent |
tinymce |
|
type |
tinymce |
1234-5678 |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='geographicFocus']/a/img |
|
assertTitle |
Edit |
|
type |
id=object |
Afri |
click |
id=ui-active-menuitem |
|
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='dateTimeInterval']/a/img |
|
assertTitle |
Edit |
|
type |
startField-year |
2010 |
select |
startField-month |
label=9 |
select |
startField-day |
label=1 |
type |
endField-year |
2012 |
select |
endField-month |
label=8 |
select |
endField-day |
label=31 |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='localAwardId']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add new entry for: local award id |
|
waitForElementPresent |
tinymce |
|
type |
tinymce |
P999-1234 |
clickAndWait |
submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
css=a.add-fundingVehicleFor > img.add-individual |
|
assertTitle |
Edit |
|
type |
id=object |
primate health chec |
click |
id=ui-active-menuitem |
|
clickAndWait |
id=submit |
|
assertTitle |
Primate Elderly Care |
|
clickAndWait |
//h3[@id='hasSubjectArea']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Manage Concepts |
|
click |
id=showAddFormButton |
|
clickAndWait |
link=exact:Can't find the concept you want? Create your own. |
|
assertTitle |
Edit |
|
type |
id=relatedIndLabel |
Elderly Care |
clickAndWait |
id=submit |
|
assertTitle |
Edit |
|
clickAndWait |
link=Return to Profile Page |
|
assertTitle |
Primate Elderly Care |
|
verifyTextPresent |
Primate Colleges of the World |
|
verifyTextPresent |
Primate Research Laboratory |
|
verifyTextPresent |
Purpose of grant is to determine the appropriate environment, physical activity, and diet for primates as they age. |
|
verifyTextPresent |
Primate Colleges of the World |
|
verifyTextPresent |
$1,234,567 |
|
verifyTextPresent |
$999,999 |
|
verifyTextPresent |
1234-5678 |
|
verifyTextPresent |
September 1, 2010 - August 31, 2012 |
|
verifyTextPresent |
P999-1234 |
|
verifyElementPresent |
link=Primate Health Check |
|
verifyTextPresent |
Elderly Care |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|