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=Faculty, Jane |
|
assertTitle |
Faculty, Jane |
|
clickAndWait |
id=manageGrantLink |
|
assertTitle |
VIVO |
|
verifyTextPresent |
Manage Grants & Projects for Jane Faculty |
|
verifyTextPresent |
Check those grants and projects you want to exclude from the profile page. |
|
verifyTextPresent |
Co-Principal Investigator Role |
|
verifyTextPresent |
NIH VIVO |
|
verifyTextPresent |
VIVO Cornell Grant |
|
verifyTextPresent |
Investigator Role |
|
verifyTextPresent |
VIVO Cornell Grant Too |
|
verifyTextPresent |
Principal Investigator Role |
|
verifyTextPresent |
NIH VIVO Too |
|
verifyTextPresent |
Researcher Role |
|
verifyTextPresent |
Habitats for Apes |
|
verifyTextPresent |
History of Apes in Africa |
|
verifyElementPresent |
link=Return to profile page |
|
clickAndWait |
link=Return to profile page |
|
assertTitle |
Faculty, Jane |
|
clickAndWait |
id=manageGrantLink |
|
assertTitle |
VIVO |
|
click |
css=input.grantCheckbox |
|
click |
xpath=(//input[@type='checkbox'])[2] |
|
click |
xpath=(//input[@type='checkbox'])[3] |
|
click |
xpath=(//input[@type='checkbox'])[4] |
|
click |
xpath=(//input[@type='checkbox'])[5] |
|
click |
xpath=(//input[@type='checkbox'])[6] |
|
clickAndWait |
link=Return to profile page |
|
assertTitle |
Faculty, Jane |
|
verifyTextNotPresent |
NIH VIVO |
|
verifyTextNotPresent |
VIVO Cornell Grant |
|
verifyTextNotPresent |
VIVO Cornell Grant Too |
|
verifyTextNotPresent |
NIH VIVO Too |
|
verifyTextNotPresent |
Habitats for Apes |
|
verifyTextNotPresent |
History of Apes in Africa |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|