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=Conference (bibo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Conference |
|
clickAndWait |
link=Cancel |
|
assertTitle |
VIVO Site Administration |
|
select |
VClassURI |
label=Conference (bibo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Conference |
|
clickAndWait |
submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
Please enter a value in the Name field. |
|
type |
label |
Primate Health Conference |
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
click |
//div[@id='wrapper-content']/ul/li[8] |
|
clickAndWait |
//h3[@id='description']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add new entry for: description |
|
waitForElementPresent |
tinymce |
|
runScript |
tinyMCE.activeEditor.setContent('First annual conference for those interested in the general health of primates.') |
|
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
//h3[@id='hasProceedings']/a/img |
|
clickAndWait |
id=offerCreate |
|
assertTitle |
Edit |
|
type |
id=label |
PHC Proceedings |
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
pause |
10000 |
|
clickAndWait |
link=Index |
|
clickAndWait |
link=Conference |
|
assertTitle |
Conference |
|
clickAndWait |
link=Primate Health Conference |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
//h3[@id='contactInformation']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add new entry for: contact information |
|
waitForElementPresent |
tinymce |
|
runScript |
tinyMCE.activeEditor.setContent('info@primateconf.org') |
|
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
//h3[@id='geographicFocus']/a/img |
|
assertTitle |
Edit |
|
verifyTextPresent |
If you don't find the appropriate entry on the selection list above: |
|
type |
id=object |
|
sendKeys |
id=object |
Kenya |
pause |
5000 |
|
sendKeys |
id=object |
${KEY_DOWN} |
click |
id=ui-active-menuitem |
|
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
xpath=(//h3[@id='RO_0001025']/a)[2] |
|
assertTitle |
Edit |
|
verifyTextPresent |
If you don't find the appropriate entry on the selection list above: |
|
verifyTextPresent |
Geographic Location Name |
|
type |
id=object |
|
sendKeys |
id=object |
Cong |
pause |
5000 |
|
sendKeys |
id=object |
${KEY_DOWN} |
click |
id=ui-active-menuitem |
|
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
css=a.add-RO_0001025 > img.add-individual |
|
assertTitle |
Edit |
|
verifyTextPresent |
If you don't find the appropriate entry on the selection list above: |
|
select |
id=typeOfNew |
label=Facility (vivo) |
clickAndWait |
id=offerCreate |
|
assertTitle |
Edit |
|
type |
id=label |
State Fair Park |
clickAndWait |
id=submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
//h3[@id='dateTimeInterval']/a/img |
|
assertTitle |
Edit |
|
type |
startField-year |
2011 |
select |
startField-month |
label=1 |
select |
startField-day |
label=5 |
type |
endField-year |
2011 |
select |
endField-month |
label=1 |
select |
endField-day |
label=9 |
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
//h3[@id='presents']/a/img |
|
assertTitle |
Edit |
|
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
css=a.add-BFO_0000051 > img.add-individual |
|
assertTitle |
Edit |
|
verifyTextPresent |
If you don't find the appropriate entry on the selection list above: |
|
select |
objectVar |
label=Primate Health Check (Event) |
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
css=a.add-hasSubjectArea > img.add-individual |
|
assertTitle |
Edit |
|
click |
id=showAddFormButton |
|
clickAndWait |
link=Select or create a VIVO-defined concept. |
|
assertTitle |
Edit |
|
type |
id=relatedIndLabel |
|
sendKeys |
id=relatedIndLabel |
Anim |
pause |
5000 |
|
sendKeys |
id=relatedIndLabel |
${KEY_DOWN} |
click |
id=ui-active-menuitem |
|
clickAndWait |
id=submit |
|
assertTitle |
Edit |
|
clickAndWait |
link=Return to Profile Page |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
//h3[@id='abbreviation']/a/img |
|
assertTitle |
Edit |
|
waitForElementPresent |
tinymce |
|
runScript |
tinyMCE.activeEditor.setContent('PrimHConf') |
|
clickAndWait |
submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
css=a.add-BFO_0000050 > img.add-individual |
|
assertTitle |
Edit |
|
select |
id=objectVar |
label=Primate Health and Fitness (Invited Talk) |
clickAndWait |
id=submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
xpath=(//img[@alt='add'])[6] |
|
assertTitle |
Edit |
|
clickAndWait |
id=submit |
|
assertTitle |
Primate Health Conference |
|
clickAndWait |
css=a.add-RO_0002234 > img.add-individual |
|
assertTitle |
Edit |
|
select |
id=objectVar |
label=Primate Happenings (Blog Posting) |
clickAndWait |
id=submit |
|
assertTitle |
Primate Health Conference |
|
verifyTextPresent |
Primate Health Conference |
|
verifyTextPresent |
Conference |
|
verifyTextPresent |
First annual conference for those interested in the general health of primates. |
|
verifyTextPresent |
PrimHConf |
|
verifyTextPresent |
January 5, 2011 - January 9, 2011 |
|
verifyElementPresent |
link=Primate Health and Fitness |
|
verifyElementPresent |
link=Primate Health Check |
|
verifyElementPresent |
link=Primate Health Talks |
|
verifyElementPresent |
link=Animal Health |
|
verifyElementPresent |
link=PHC Proceedings |
|
verifyElementPresent |
link=Kenya |
|
verifyElementPresent |
link=Primate Happenings |
|
verifyElementPresent |
link=http://primatehealthintro.cornell.edu |
|
verifyTextPresent |
info@primateconf.org |
|
verifyElementPresent |
link=State Fair Park |
|
verifyElementPresent |
link=Congo |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|