ChangeEducationBackground
comment Make changes to 3 degrees
deleteAllVisibleCookies
setTimeout 100000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Must log in as site admin
type username testAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Navigate to Jane Faculty via Index
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Faculty Member
assertTitle Faculty Member
clickAndWait link=Jane Faculty
pause 5000
assertTitle Jane Faculty
comment Verify all 3 degree entries exist
verifyTextPresent B.S. in Business Administration, Corny College, 9999
verifyTextPresent M.B.A. in Business Administration, Corny College, Business Department, 2000
verifyTextPresent M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
comment Change department, year, and supplemental info for B.S. degree
clickAndWait //div[@id='oprop-core-educationalBackground']/ul/li[1]/span/span/a[1]
assertTitle Edit
type dept Business Department
type year 1981
type info Four year full scholarship
clickAndWait submit
refreshAndWait 50000
assertTitle Jane Faculty
comment Verify B.S. degree info changed but other 2 degrees the same
verifyTextPresent B.S. in Business Administration, Corny College, Business Department, 1981, Four year full scholarship
verifyTextPresent M.B.A. in Business Administration, Corny College, Business Department, 2000
verifyTextPresent M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
comment Change organization for M.B.A. degree
clickAndWait //div[@id='oprop-core-educationalBackground']/ul/li[2]/span/span/a[1]
assertTitle Edit
click link=add a new organization
type newOrgName University of Illinois
select newOrgType label=University
clickAndWait submit
refreshAndWait 50000
assertTitle Jane Faculty
comment Verify M.B.A. school changed but other 2 degrees the same
verifyTextPresent B.S. in Business Administration, Corny College, Business Department, 1981, Four year full scholarship
verifyTextPresent M.B.A. in Business Administration, University of Illinois, Business Department, 2000
verifyTextPresent M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
comment Change M.Ed. to add department and delete supplemental info
clickAndWait //div[@id='oprop-core-educationalBackground']/ul/li[3]/span/span/a[1]
assertTitle Edit
type dept School of Business
type info
clickAndWait submit
refreshAndWait 50000
assertTitle Jane Faculty
comment Verify M.Ed. degree info changed but other 2 degrees the same
verifyTextPresent B.S. in Business Administration, Corny College, Business Department, 1981, Four year full scholarship
verifyTextPresent M.B.A. in Business Administration, University of Illinois, Business Department, 2000
verifyTextPresent M.Ed. in Business Education, University of Wisconsin, School of Business, 2005
comment Log out
clickAndWait link=Log out
assertTitle VIVO