diff --git a/utilities/acceptance-tests/suites/AddRoles/AddFacultyMemberRoles1.html b/utilities/acceptance-tests/suites/AddRoles/AddFacultyMemberRoles1.html new file mode 100644 index 00000000..367e4890 --- /dev/null +++ b/utilities/acceptance-tests/suites/AddRoles/AddFacultyMemberRoles1.html @@ -0,0 +1,900 @@ + + + +
+ + +AddFacultyMemberRoles1 | ||
comment | +Add grant roles for Jane Faculty--originally tested auto-complete but doesn't work well within Selenium | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged off to start | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as the site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Cancel out before adding Co-principal Investigator | ++ |
clickAndWait | +//div[@id='hasCo-PrincipalInvestigatorRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create co-principal investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Enter invalid Co-principal Investigator role | ++ |
clickAndWait | +//div[@id='hasCo-PrincipalInvestigatorRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create co-principal investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +NIH VIVO | +
clickAndWait | +submit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
assertTitle | +Edit | ++ |
comment | +Add good Co-principal Investigator role | ++ |
verifyTextPresent | +Create co-principal investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +NIH VIVO | +
type | +startYear | +2009 | +
type | +endYear | +2010 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify Co-principal Investigator role is showing up | ++ |
verifyElementPresent | +link=NIH VIVO | ++ |
verifyTextPresent | +2009 - 2010 | ++ |
verifyElementPresent | +//div[@id='hasCo-PrincipalInvestigatorRole']/ul/li/span | ++ |
comment | +Add second Co-principal Investigator role | ++ |
clickAndWait | +//div[@id='hasCo-PrincipalInvestigatorRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create co-principal investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +VIVO Cornell Grant | +
type | +startYear | +2007 | +
type | +endYear | +2009 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify both Co-principal Investigator roles are showing up | ++ |
verifyTextPresent | +VIVO Cornell Grant | ++ |
verifyTextPresent | +2007 - 2009 | ++ |
verifyElementPresent | +//div[@id='hasCo-PrincipalInvestigatorRole']/ul/li[1]/span | ++ |
verifyElementPresent | +link=NIH VIVO | ++ |
verifyTextPresent | +2009 - 2010 | ++ |
verifyElementPresent | +//div[@id='hasCo-PrincipalInvestigatorRole']/ul/li[2]/span | ++ |
comment | +Cancel out before adding Investigator | ++ |
clickAndWait | +//div[@id='hasInvestigatorRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Enter invalid Investigator role | ++ |
clickAndWait | +//div[@id='hasInvestigatorRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +VIVO Cornell Grant Too | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add good Investigator role | ++ |
verifyTextPresent | +Create investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +VIVO Cornell Grant Too | +
type | +startYear | +2009 | +
type | +endYear | +2009 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify Investigator role is showing up | ++ |
verifyTextPresent | +VIVO Cornell Grant Too | ++ |
verifyTextPresent | +2009 | ++ |
verifyElementPresent | +//div[@id='hasInvestigatorRole']/ul/li/span/a | ++ |
comment | +Add Principal Investigator role | ++ |
clickAndWait | +//div[@id='hasPrincipalInvestigatorRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create principal investigator entry for Faculty, Jane | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +NIH VIVO Too | +
type | +startYear | +2010 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify Principal Investigator role is showing up | ++ |
verifyTextPresent | +NIH VIVO Too | ++ |
verifyTextPresent | +2010 | ++ |
verifyElementPresent | +//div[@id='hasPrincipalInvestigatorRole']/ul/li/span | ++ |
comment | +Verify that all grant roles are still there | ++ |
verifyTextPresent | +NIH VIVO | ++ |
verifyTextPresent | +2009 - 2010 | ++ |
verifyElementPresent | +//div[@id='hasCo-PrincipalInvestigatorRole']/ul/li/span | ++ |
verifyTextPresent | +VIVO Cornell Grant | ++ |
verifyTextPresent | +2007 - 2009 | ++ |
verifyElementPresent | +//div[@id='hasCo-PrincipalInvestigatorRole']/ul/li[2]/span | ++ |
verifyTextPresent | +VIVO Cornell Grant Too | ++ |
verifyTextPresent | +2009 | ++ |
verifyElementPresent | +//div[@id='hasInvestigatorRole']/ul/li/span | ++ |
verifyTextPresent | +NIH VIVO Too | ++ |
verifyTextPresent | +2010 | ++ |
verifyElementPresent | +//div[@id='hasPrincipalInvestigatorRole']/ul/li/span | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddFacultyMemberRoles2 | ||
comment | +Add activities roles for Jane Faculty | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged off to start | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as the site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Cancel out before adding research activity | ++ |
clickAndWait | +//div[@id='hasResearcherRole']/a | ++ |
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Cancel out after selecting research activity type | ++ |
clickAndWait | +//div[@id='hasResearcherRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
select | +typeSelector | +label=Project | +
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
verifyTextPresent | +Project Name | ++ |
verifyTextPresent | +Role in Project | ++ |
verifyTextPresent | +Years of Participation in Project | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
click | +link=Cancel | ++ |
comment | +Enter research activity without a start date | ++ |
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
select | +typeSelector | +label=Project | +
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
verifyTextPresent | +Project Name | ++ |
verifyTextPresent | +Role in Project | ++ |
verifyTextPresent | +Years of Participation in Project | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +History of Apes in Africa | +
type | +newIndLabel | +Consultant | +
type | +startYear | ++ |
clickAndWait | +submit | ++ |
comment | +Add research activity - project | ++ |
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
select | +typeSelector | +label=Project | +
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
verifyTextPresent | +Project Name | ++ |
verifyTextPresent | +Role in Project | ++ |
verifyTextPresent | +Years of Participation in Project | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +History of Apes in Africa | +
type | +newIndLabel | +Consultant | +
type | +startYear | +2010 | +
clickAndWait | +submit | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Add research activity - grant | ++ |
clickAndWait | +//div[@id='hasResearcherRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
select | +typeSelector | +label=Grant | +
verifyTextPresent | +Create research activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Research Activity Type | ++ |
verifyTextPresent | +Grant Name | ++ |
verifyTextPresent | +Role in Grant | ++ |
verifyTextPresent | +Years of Participation in Grant | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Habitats for Apes | +
type | +newIndLabel | +Researcher | +
type | +startYear | +1980 | +
type | +endYear | +1985 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Add teaching activity - conference | ++ |
clickAndWait | +//div[@id='hasTeacherRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create teaching activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Teaching Activity Type | ++ |
select | +typeSelector | +label=Conference | +
verifyTextPresent | +Conference Name | ++ |
verifyTextPresent | +Role in Conference | ++ |
verifyTextPresent | +Years of Participation in Conference | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Ape World | +
type | +newIndLabel | +Planner | +
type | +startYear | +2009 | +
type | +endYear | +2009 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Add teaching activity - course | ++ |
clickAndWait | +//div[@id='hasTeacherRole']/a | ++ |
assertTitle | +Edit | ++ |
select | +typeSelector | +label=Course | +
verifyTextPresent | +Create teaching activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Teaching Activity Type | ++ |
verifyTextPresent | +Course Name | ++ |
verifyTextPresent | +Role in Course | ++ |
verifyTextPresent | +Years of Participation in Course | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Introduction to the Ape World | +
type | +newIndLabel | +Creator | +
type | +startYear | +2000 | +
type | +endYear | +2001 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Add teaching activity - workshop | ++ |
clickAndWait | +//div[@id='hasTeacherRole']/a | ++ |
assertTitle | +Edit | ++ |
select | +typeSelector | +label=Workshop | +
verifyTextPresent | +Create teaching activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Teaching Activity Type | ++ |
verifyTextPresent | +Workshop Name | ++ |
verifyTextPresent | +Role in Workshop | ++ |
verifyTextPresent | +Years of Participation in Workshop | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Working with Primates | +
type | +newIndLabel | +Co-Instructor | +
type | +startYear | +2000 | +
type | +endYear | +2005 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Add clinical activity - project | ++ |
clickAndWait | +//div[@id='hasClinicalRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create clinical activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Clinical Activity Type | ++ |
select | +typeSelector | +label=Project | +
verifyTextPresent | +Create clinical activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Clinical Activity Type | ++ |
verifyTextPresent | +Project Name | ++ |
verifyTextPresent | +Role in Project | ++ |
verifyTextPresent | +Years of Participation in Project | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Prototype New Ape Home | +
type | +newIndLabel | +Designer | +
type | +startYear | +1990 | +
type | +endYear | +1991 | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Add clinical activity - service | ++ |
clickAndWait | +//div[@id='hasClinicalRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create clinical activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Clinical Activity Type | ++ |
select | +typeSelector | +label=Service | +
verifyTextPresent | +Create clinical activity entry for Faculty, Jane | ++ |
verifyTextPresent | +Clinical Activity Type | ++ |
verifyTextPresent | +Service Name | ++ |
verifyTextPresent | +Role in Service | ++ |
verifyTextPresent | +Years of Participation in Service | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Ape Health Program | +
type | +newIndLabel | +Founder | +
type | +startYear | +1993 | +
type | +endYear | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Navigate back to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify activities displayed for Jane Faculty | ++ |
verifyElementPresent | +link=Prototype New Ape Home | ++ |
verifyTextPresent | +Designer 1990 - 1991 | ++ |
verifyElementPresent | +link=Ape Health Program | ++ |
verifyTextPresent | +Founder 1993 - | ++ |
verifyElementPresent | +link=History of Apes in Africa | ++ |
verifyTextPresent | +Consultant 2010 - | ++ |
verifyElementPresent | +link=Habitats for Apes | ++ |
verifyTextPresent | +Researcher 1980 - 1985 | ++ |
verifyElementPresent | +link=Working with Primates | ++ |
verifyTextPresent | +Co-Instructor 2000 - 2005 | ++ |
verifyElementPresent | +link=Introduction to the Ape World | ++ |
verifyTextPresent | +Creator 2000 - 2001 | ++ |
verifyElementPresent | +link=Ape World | ++ |
verifyTextPresent | +Planner 2009 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddLibrarianRoles1 | ||
comment | +Add 3 roles for Lily Librarian | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged off to start | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as the site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Start to add presentation and cancel out | ++ |
clickAndWait | +//div[@id='hasPresenterRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Select presentation type then cancel out | ++ |
clickAndWait | +//div[@id='hasPresenterRole']/a | ++ |
assertTitle | +Edit | ++ |
select | +typeSelector | +label=Presentation | +
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
verifyTextPresent | +Presentation Name | ++ |
verifyTextPresent | +Role in Presentation | ++ |
verifyTextPresent | +Year | ++ |
click | +link=Cancel | ++ |
comment | +Start to add presentation again, but enter no required field | ++ |
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
select | +typeSelector | +label=Presentation | +
verifyTextPresent | +Presentation Name | ++ |
verifyTextPresent | +Role in Presentation | ++ |
verifyTextPresent | +Year | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Start to add presentation again, but enter only first required field | ++ |
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
select | +typeSelector | +label=Presentation | +
verifyTextPresent | +Presentation Name | ++ |
verifyTextPresent | +Role in Presentation | ++ |
verifyTextPresent | +Year | ++ |
type | +relatedIndLabel | +Researching Primates | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Start to add presentation again, but enter only first 2 required fields | ++ |
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
verifyTextPresent | +Presentation Name | ++ |
verifyTextPresent | +Role in Presentation | ++ |
verifyTextPresent | +Year | ++ |
type | +relatedIndLabel | +Researching Primates | +
type | +newIndLabel | +Presenter | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add presentation correctly | ++ |
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
verifyTextPresent | +Presentation Name | ++ |
verifyTextPresent | +Role in Presentation | ++ |
verifyTextPresent | +Year | ++ |
type | +relatedIndLabel | +Researching Primates | +
type | +newIndLabel | +Presenter | +
type | +startYear | +2009 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Add presentation type of invited talk | ++ |
clickAndWait | +//div[@id='hasPresenterRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
select | +typeSelector | +label=Invited Talk | +
verifyTextPresent | +Create presentation entry for Librarian, Lily | ++ |
verifyTextPresent | +Presentation Type | ++ |
verifyTextPresent | +Invited Talk Name | ++ |
verifyTextPresent | +Role in Invited Talk | ++ |
verifyTextPresent | +Year | ++ |
type | +relatedIndLabel | +Animal Librarianship | +
type | +newIndLabel | +Member of panel | +
type | +startYear | +2003 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Verify presentations display | ++ |
verifyElementPresent | +link=Animal Librarianship | ++ |
verifyTextPresent | +Member of panel 2003 | ++ |
verifyElementPresent | +//div[@id='hasPresenterRole']/ul/li[1]/span | ++ |
verifyElementPresent | +link=Researching Primates | ++ |
verifyTextPresent | +Presenter 2009 | ++ |
verifyElementPresent | +//div[@id='hasPresenterRole']/ul/li/span | ++ |
comment | +Add service to the profession - college | ++ |
clickAndWait | +//div[@id='hasServiceProviderRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create service to the profession entry for Librarian, Lily | ++ |
verifyTextPresent | +Service to the Profession Type | ++ |
select | +typeSelector | +label=College | +
verifyTextPresent | +College Name | ++ |
verifyTextPresent | +Role in College | ++ |
verifyTextPresent | +Years of Participation in College | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Carroll College | +
type | +newIndLabel | +Consultant | +
type | +startYear | +2010 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Add service to the profession - college | ++ |
clickAndWait | +//div[@id='hasServiceProviderRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create service to the profession entry for Librarian, Lily | ++ |
verifyTextPresent | +Service to the Profession Type | ++ |
select | +typeSelector | +label=Museum | +
verifyTextPresent | +Museum Name | ++ |
verifyTextPresent | +Role in Museum | ++ |
verifyTextPresent | +Years of Participation in Museum | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Primates of the World | +
type | +newIndLabel | +Librarian | +
type | +newIndLabel | +Board | +
type | +startYear | +2001 | +
type | +endYear | +2003 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Verify that service to the profession displays | ++ |
verifyTextPresent | +Primates of the World | ++ |
verifyTextPresent | +Board 2001 - 2003 | ++ |
verifyElementPresent | +//div[@id='hasServiceProviderRole']/ul/li[1]/span | ++ |
verifyTextPresent | +Carroll College | ++ |
verifyTextPresent | +Consultant 2010 - | ++ |
verifyElementPresent | +//div[@id='hasServiceProviderRole']/ul/li[2]/span | ++ |
comment | +Add outreach and community service - committee | ++ |
clickAndWait | +//div[@id='hasOutreachProviderRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create outreach & community service entry for Librarian, Lily | ++ |
verifyTextPresent | +Outreach & Community Service Type | ++ |
select | +typeSelector | +label=Committee | +
verifyTextPresent | +Committee Name | ++ |
verifyTextPresent | +Role in Committee | ++ |
verifyTextPresent | +Years of Participation in Committee | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Librarians for the Better Treatment of Primates | +
type | +newIndLabel | +Chair | +
type | +startYear | +2009 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Add outreach and community service - event | ++ |
clickAndWait | +//div[@id='hasOutreachProviderRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create outreach & community service entry for Librarian, Lily | ++ |
verifyTextPresent | +Outreach & Community Service Type | ++ |
select | +typeSelector | +label=Event | +
verifyTextPresent | +Event Name | ++ |
verifyTextPresent | +Role in Event | ++ |
verifyTextPresent | +Years of Participation in Event | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Show Me the Primates! | +
type | +newIndLabel | +Booth | +
type | +startYear | +2001 | +
type | +endYear | +2001 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Verify outreach and community service display | ++ |
verifyTextPresent | +Show Me the Primates! | ++ |
verifyTextPresent | +Booth 2001 | ++ |
verifyElementPresent | +//div[@id='hasOutreachProviderRole']/ul/li[1]/span | ++ |
verifyElementPresent | +link=Librarians for the Better Treatment of Primates | ++ |
verifyTextPresent | +Chair 2009 - | ++ |
verifyElementPresent | +//div[@id='hasOutreachProviderRole']/ul/li[2]/span | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddLibrarianRoles2 | ||
comment | +Add head of and member of roles for Lily Librarian | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged off to start | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as the site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Add Head of role | ++ |
clickAndWait | +//div[@id='hasLeaderRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create head of entry for Librarian, Lily | ++ |
verifyTextPresent | +Head Of Type | ++ |
select | +typeSelector | +label=Department | +
verifyTextPresent | +Department Name | ++ |
verifyTextPresent | +Role in Department | ++ |
verifyTextPresent | +Years of Participation in Department | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Reference Division | +
type | +newIndLabel | +Head Librarian | +
type | +startYear | +2009 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Add Member of role | ++ |
clickAndWait | +//div[@id='hasMemberRole']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create membership entry for Librarian, Lily | ++ |
verifyTextPresent | +Membership Type | ++ |
select | +typeSelector | +label=Association | +
verifyTextPresent | +Association Name | ++ |
verifyTextPresent | +Role in Association | ++ |
verifyTextPresent | +Years of Participation in Association | ++ |
verifyTextPresent | +Start Year | ++ |
verifyTextPresent | +End Year | ++ |
type | +relatedIndLabel | +Amercian Library Association | +
type | +newIndLabel | +Member | +
type | +startYear | +1988 | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Navigate back to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Verify Head of and Member of roles display | ++ |
verifyElementPresent | +link=Reference Division | ++ |
verifyTextPresent | +Head Librarian 2009 - | ++ |
verifyElementPresent | +//div[@id='hasLeaderRole']/ul/li/span | ++ |
verifyElementPresent | +link=Amercian Library Association | ++ |
verifyTextPresent | +Member 1988 - | ++ |
verifyElementPresent | +//div[@id='hasMemberRole']/ul/li/span | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |