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 |
|
click |
//div[@id='wrapper-content']/ul/li[8] |
|
selectWindow |
null |
|
clickAndWait |
xpath=(//img[@alt='add'])[29] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create advisor relationship entry for Faculty, Jane |
|
verifyTextPresent |
Advising Relationship Type |
|
verifyTextPresent |
Advisee: Last name |
|
verifyTextPresent |
First name |
|
verifyTextPresent |
Subject Area |
|
verifyTextPresent |
Degree Candidacy |
|
verifyTextPresent |
Years of Participation |
|
verifyTextPresent |
Start Year |
|
verifyTextPresent |
End Year |
|
clickAndWait |
link=Cancel |
|
clickAndWait |
xpath=(//img[@alt='add'])[29] |
|
assertTitle |
Edit |
|
select |
id=selector |
label=Undergraduate Advising Relationship |
clickAndWait |
css=input.submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
You must enter a value in the Last Name field. |
|
verifyTextPresent |
You must enter a value in the First Name field. |
|
select |
id=selector |
label=Undergraduate Advising Relationship |
type |
id=advisee |
Smith |
clickAndWait |
css=input.submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
You must enter a value in the First Name field. |
|
select |
id=selector |
label=Undergraduate Advising Relationship |
type |
id=advisee |
|
type |
id=firstName |
Joe |
clickAndWait |
css=input.submit |
|
verifyTextPresent |
You must enter a value in the Last Name field. |
|
select |
id=selector |
label=Undergraduate Advising Relationship |
type |
id=advisee |
Smith |
type |
id=firstName |
Joe |
clickAndWait |
css=input.submit |
|
verifyTextPresent |
undergraduate advising relationship |
|
verifyElementPresent |
link=Smith, Joe |
|
clickAndWait |
xpath=(//img[@alt='add'])[29] |
|
assertTitle |
Edit |
|
select |
id=selector |
label=Graduate Advising Relationship |
type |
id=advisee |
Doe |
type |
id=firstName |
John |
type |
id=SubjectArea |
Primates |
select |
id=degreeUri |
label=M.S. Master of Science |
type |
id=startField-year |
2008 |
type |
id=endField-year |
2011 |
clickAndWait |
css=input.submit |
|
assertTitle |
Faculty, Jane |
|
verifyTextPresent |
undergraduate advising relationship |
|
verifyElementPresent |
link=Smith, Joe |
|
verifyTextPresent |
graduate advising relationship |
|
verifyTextPresent |
Doe, John, M.S. candidate, 2008 - 2011 |
|
verifyElementPresent |
link=Doe, John |
|
clickAndWait |
xpath=(//img[@alt='add'])[29] |
|
assertTitle |
Edit |
|
select |
id=selector |
label=Faculty Mentoring Relationship |
type |
id=advisee |
Adams |
type |
id=firstName |
Jeff |
type |
id=SubjectArea |
Primate Health |
type |
id=startField-year |
2012 |
clickAndWait |
css=input.submit |
|
assertTitle |
Faculty, Jane |
|
verifyTextPresent |
faculty mentoring relationship |
|
verifyTextPresent |
Adams, Jeff, 2012 - |
|
verifyElementPresent |
link=Adams, Jeff |
|
verifyTextPresent |
graduate advising relationship |
|
verifyTextPresent |
Doe, John, M.S. candidate, 2008 - 2011 |
|
verifyElementPresent |
link=Doe, John |
|
verifyTextPresent |
undergraduate advising relationship |
|
verifyTextPresent |
Smith, Joe |
|
verifyElementPresent |
link=Smith, Joe |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|