deleteAllVisibleCookies |
|
|
setTimeout |
10000000 |
|
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=Faculty Member (vivo) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
type |
id=firstName |
Jeff |
type |
id=lastName |
Adams |
clickAndWait |
id=submit |
|
assertTitle |
Adams, Jeff |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
id=submit |
|
assertTitle |
Edit |
|
type |
id=firstName |
Jane |
type |
id=lastName |
Doe |
clickAndWait |
id=submit |
|
assertTitle |
Doe, Jane |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
select |
id=VClassURI |
label=Librarian (vivo) |
clickAndWait |
id=submit |
|
assertTitle |
Edit |
|
type |
id=firstName |
John |
type |
id=lastName |
Smith |
clickAndWait |
id=submit |
|
assertTitle |
Smith, John |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
select |
id=VClassURI |
label=Person (foaf) |
clickAndWait |
id=submit |
|
assertTitle |
Edit |
|
type |
id=firstName |
Susie |
type |
id=lastName |
Booth |
clickAndWait |
id=submit |
|
assertTitle |
Booth, Susie |
|
click |
//div[@id='wrapper-content']/ul/li[18] |
|
clickAndWait |
css=a.add-hasCollaborator > img.add-individual |
|
assertTitle |
Edit |
|
type |
id=object |
|
sendKeys |
id=object |
adam |
pause |
5000 |
|
sendKeys |
id=object |
${KEY_DOWN} |
click |
id=ui-active-menuitem |
|
clickAndWait |
id=submit |
|
assertTitle |
Booth, Susie |
|
clickAndWait |
css=a.add-hasCollaborator > img.add-individual |
|
assertTitle |
Edit |
|
type |
id=object |
|
sendKeys |
id=object |
doe |
pause |
5000 |
|
sendKeys |
id=object |
${KEY_DOWN} |
click |
id=ui-active-menuitem |
|
clickAndWait |
id=submit |
|
assertTitle |
Booth, Susie |
|
clickAndWait |
css=a.add-hasCollaborator > img.add-individual |
|
assertTitle |
Edit |
|
type |
id=object |
|
sendKeys |
id=object |
smith |
pause |
5000 |
|
sendKeys |
id=object |
${KEY_DOWN} |
click |
id=ui-active-menuitem |
|
clickAndWait |
id=submit |
|
assertTitle |
Booth, Susie |
|
verifyElementPresent |
css=#hasCollaborator-Person-List > li |
|
verifyElementPresent |
//ul[@id='hasCollaborator-Person-List']/li[2] |
|
verifyElementPresent |
//ul[@id='hasCollaborator-Person-List']/li[3] |
|
clickAndWait |
id=verbosePropertySwitch |
|
assertTitle |
Booth, Susie |
|
clickAndWait |
link=vivo:hasCollaborator |
|
assertTitle |
Object Property Control Panel |
|
clickAndWait |
//input[@value='Edit Property Record'] |
|
assertTitle |
Property Editing Form |
|
type |
name=DomainEntitySortDirection |
desc |
clickAndWait |
id=primaryAction |
|
assertTitle |
Object Property Control Panel |
|
clickAndWait |
link=Index |
|
assertTitle |
Index of Contents |
|
clickAndWait |
link=Person |
|
assertTitle |
Person |
|
clickAndWait |
link=Booth, Susie |
|
clickAndWait |
id=verbosePropertySwitch |
|
assertTitle |
Booth, Susie |
|
verifyElementPresent |
css=#hasCollaborator-Person-List > li |
|
verifyElementPresent |
//ul[@id='hasCollaborator-Person-List']/li[2] |
|
verifyElementPresent |
//ul[@id='hasCollaborator-Person-List']/li[3] |
|
clickAndWait |
id=verbosePropertySwitch |
|
assertTitle |
Booth, Susie |
|
clickAndWait |
link=vivo:hasCollaborator |
|
assertTitle |
Object Property Control Panel |
|
clickAndWait |
//input[@value='Edit Property Record'] |
|
assertTitle |
Property Editing Form |
|
type |
name=DomainEntitySortDirection |
|
clickAndWait |
id=primaryAction |
|
assertTitle |
Object Property Control Panel |
|
clickAndWait |
link=Index |
|
assertTitle |
Index of Contents |
|
clickAndWait |
link=Person |
|
assertTitle |
Person |
|
clickAndWait |
link=Booth, Susie |
|
assertTitle |
Booth, Susie |
|
clickAndWait |
id=verbosePropertySwitch |
|
assertTitle |
Booth, Susie |
|
verifyElementPresent |
css=#hasCollaborator-Person-List > li |
|
verifyElementPresent |
//ul[@id='hasCollaborator-Person-List']/li[2] |
|
verifyElementPresent |
//ul[@id='hasCollaborator-Person-List']/li[3] |
|
clickAndWait |
link=Index |
|
assertTitle |
Index of Contents |
|
clickAndWait |
link=Person |
|
assertTitle |
Person |
|
clickAndWait |
link=Adams, Jeff |
|
assertTitle |
Adams, Jeff |
|
clickAndWait |
link=Edit this individual |
|
assertTitle |
Individual Control Panel |
|
clickAndWait |
//input[@value='Edit This Individual'] |
|
assertTitle |
Individual Editing Form |
|
click |
name=_delete |
|
assertConfirmation |
Are you SURE you want to delete this individual? If in doubt, CANCEL. |
|
waitForPageToLoad |
5000 |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
link=Index |
|
assertTitle |
Index of Contents |
|
clickAndWait |
link=Person |
|
assertTitle |
Person |
|
clickAndWait |
link=Doe, Jane |
|
assertTitle |
Doe, Jane |
|
clickAndWait |
link=Edit this individual |
|
assertTitle |
Individual Control Panel |
|
clickAndWait |
//input[@value='Edit This Individual'] |
|
assertTitle |
Individual Editing Form |
|
click |
name=_delete |
|
assertConfirmation |
Are you SURE you want to delete this individual? If in doubt, CANCEL. |
|
waitForPageToLoad |
5000 |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
link=Index |
|
assertTitle |
Index of Contents |
|
clickAndWait |
link=Person |
|
assertTitle |
Person |
|
clickAndWait |
link=Smith, John |
|
assertTitle |
Smith, John |
|
clickAndWait |
link=Edit this individual |
|
assertTitle |
Individual Control Panel |
|
clickAndWait |
//input[@value='Edit This Individual'] |
|
assertTitle |
Individual Editing Form |
|
click |
name=_delete |
|
assertConfirmation |
Are you SURE you want to delete this individual? If in doubt, CANCEL. |
|
waitForPageToLoad |
5000 |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
link=Index |
|
assertTitle |
Index of Contents |
|
clickAndWait |
link=Person |
|
assertTitle |
Person |
|
clickAndWait |
link=Booth, Susie |
|
assertTitle |
Booth, Susie |
|
clickAndWait |
link=Edit this individual |
|
assertTitle |
Individual Control Panel |
|
clickAndWait |
//input[@value='Edit This Individual'] |
|
assertTitle |
Individual Editing Form |
|
click |
name=_delete |
|
waitForPageToLoad |
5000 |
|
assertConfirmation |
Are you SURE you want to delete this individual? If in doubt, CANCEL. |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|