diff --git a/utilities/acceptance-tests/suites/SPARQLQueriesVB/AddArticles.html b/utilities/acceptance-tests/suites/SPARQLQueriesVB/AddArticles.html new file mode 100644 index 00000000..d417b365 --- /dev/null +++ b/utilities/acceptance-tests/suites/SPARQLQueriesVB/AddArticles.html @@ -0,0 +1,325 @@ + + + +
+ + +AddArticles | ||
comment | +Add CNN article | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no articles currently exist | ++ |
verifyTextNotPresent | +Article | ++ |
verifyTextNotPresent | +Chapter | ++ |
comment | +Navigate to Site Admin | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Select to add an Article | ++ |
select | +VClassURI | +label=Article (bibo) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Enter article name and URL info | ++ |
type | +Name | +Effect of Nintendo on Kids | +
type | +Url | +http://cnn.com | +
type | +Anchor | +CNN News Article | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that article has been added | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
comment | +Add a book chapter | ++ |
select | +VClassURI | +label=Chapter (bibo) | +
clickAndWait | +//input[@value='Add New Individual of above Type'] | ++ |
assertTitle | +Individual Editing Form | ++ |
type | +Name | +Becoming a Digital Library | +
type | +Url | +http://www.amazon.com/Becoming-Digital-Library-Information-Science/dp/0824709667/ref=sr_1_1?ie=UTF8&s=books&qid=1274298756&sr=1-1 | +
type | +Anchor | +Amazon Overiew | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that book chapter has been added | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyTextPresent | +Becoming a Digital Library | ++ |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify Article and Chapter links now appear | ++ |
verifyTextPresent | +Article (1) | ++ |
verifyTextPresent | +Chapter (1) | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddEducationBackground | ||
comment | +Validate Educational Background Form | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
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 | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Cancel out of form | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
comment | +Verify entering no fields results in error | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Verify entering just degree is not valid | ++ |
select | +degreeUri | +label=B.S. Bachelor of Science | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Verify entering just degree and major is not valid | ++ |
select | +degreeUri | +label=B.S. Bachelor of Science | +
type | +majorField | +Business Administration | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Verify organization must be selected or entered | ++ |
select | +degreeUri | +label=B.S. Bachelor of Science | +
type | +majorField | +Business Administration | +
comment | +For now 9999 is a valid year | ++ |
type | +year | +9999 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Select to add new organization but cancel before doing so | ++ |
click | +link=add a new organization | ++ |
click | +link=cancel | ++ |
comment | +Select to add new organization but leave field blank | ++ |
click | +link=add a new organization | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
click | +link=add a new organization | ++ |
comment | +Enter in new organization name but leave type blank | ++ |
type | +newOrgName | +Corny College | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must select a type for the new organization. | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Enter everything in correctly | ++ |
select | +newOrgType | +label=College | +
clickAndWait | +submit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify degree appears | ++ |
verifyTextPresent | +B.S. in Business Administration, Corny College, 9999 | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
assertTitle | +Edit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Add degree from existing organization | ++ |
select | +degreeUri | +label=M.B.A. Master of Business Administration | +
type | +majorField | +Business Administration | +
type | +year | +2000 | +
select | +organizationUri | +label=Corny College | +
type | +dept | +Business Department | +
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify both degrees appear | ++ |
verifyTextPresent | +B.S. in Business Administration, Corny College, 9999 | ++ |
verifyTextPresent | +M.B.A. in Business Administration, Corny College, Business Department, 2000 | ++ |
comment | +Add third degree from new organization | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
assertTitle | +Edit | ++ |
select | +degreeUri | +label=M.Ed. Master of Education | +
type | +majorField | +Business Education | +
type | +year | +2005 | +
click | +link=add a new organization | ++ |
type | +newOrgName | +University of Wisconsin | +
select | +newOrgType | +label=University | +
type | +info | +Graduate School Fellowship | +
clickAndWait | +submit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 3 degress show up | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, Corny College, Business Department, 2000 | ++ |
verifyTextPresent | +B.S. in Business Administration, Corny College, 9999 | ++ |
comment | +Log out | ++ |
click | +link=Log out | ++ |
pause | +5000 | ++ |
assertTitle | +VIVO | ++ |
AddOutreachService1 | ||
comment | +Test Custom Form: Outreach & Community Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Free Cancer Screening Clinic | ++ |
verifyTextNotPresent | +Founder | ++ |
verifyTextNotPresent | +12/2001 - 12/2012 | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Free Cancer Screening Clinic | +
type | +description | +Founder of clinic to conduct free cancer screenings. | +
type | +role | +Founder | +
type | +startYearMonth | +2001-12 | +
type | +endYearMonth | +2012-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +12/2001 - 12/2012 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddOutreachService2 | ||
comment | +Test Custom Form Again: Outreach & Community Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +12/2001 - 12/2012 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Public lectures on reducing stress | ++ |
verifyTextNotPresent | +Speaker | ++ |
verifyTextNotPresent | +05/2005 - 06/2006 | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Public lectures on reducing stress | +
type | +description | +Providing helpful ideas and answer questions about reducing stress. | +
type | +role | +Speaker | +
type | +startYearMonth | +2005-05 | +
type | +endYearMonth | +2006-06 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +12/2001 - 12/2012 | ++ |
verifyTextPresent | +Public lectures on reducing stress | ++ |
verifyTextPresent | +Speaker | ++ |
verifyTextPresent | +05/2005 - 06/2006 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddPositions | ||
comment | +Validate this form and add positions | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Select positions editing | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +If your organization is not listed, please add a new organization. | ++ |
comment | +Enter all required fields except start year | ++ |
type | +newOrgName | +Carroll College | +
select | +newOrgType | +label=College | +
select | +positionType | +label=Faculty Administrative Position | +
type | +title | +Lecturer | +
type | +startYear | +9999 | +
click | +submit | ++ |
pause | +50000 | ++ |
comment | +Verify first position is listed properly | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +Carroll College Lecturer, 9999 - | ++ |
comment | +Add second position using same organization | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/a | ++ |
assertTitle | +Edit | ++ |
select | +organizationUri | +label=Carroll College | +
type | +title | +Assistant Professor | +
select | +positionType | +label=Faculty Position | +
type | +startYear | +1981 | +
type | +endYear | +1985 | +
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify both positions are listed properly | ++ |
verifyTextPresent | +Carroll College Lecturer, 9999 - | ++ |
verifyTextPresent | +Carroll College Assistant Professor, 1981 - 1985 | ++ |
comment | +Add third position using new organization | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/a | ++ |
assertTitle | +Edit | ++ |
click | +link=add a new organization | ++ |
type | +newOrgName | +Cornell University | +
select | +newOrgType | +label=University | +
type | +title | +Assistant Professor | +
select | +positionType | +label=Faculty Position | +
type | +startYear | +1986 | +
type | +endYear | +2010 | +
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all three positions show up | ++ |
verifyTextPresent | +Carroll College Lecturer, 9999 - | ++ |
verifyTextPresent | +Cornell University Assistant Professor, 1986 - 2010 | ++ |
verifyTextPresent | +Carroll College Assistant Professor, 1981 - 1985 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddProfessionalService1 | ||
comment | +Test Custom Form: Professional Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Private practice | ++ |
verifyTextNotPresent | +Doctor | ++ |
verifyTextNotPresent | +06/1990 | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Private practice | +
type | +description | +Practice focuses on reducing stress while taking cancer drugs. | +
type | +role | +Doctor | +
type | +startYearMonth | +1990-06 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +06/1990 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddProfessionalService2 | ||
comment | +Test Custom Form Again: Professional Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +06/1990 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +AMA | ++ |
verifyTextNotPresent | +President | ++ |
verifyTextNotPresent | +08/2008 - 09/2009 | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +AMA | +
type | +description | +Won election. | +
type | +role | +President | +
type | +startYearMonth | +2008-08 | +
type | +endYearMonth | +2009-09 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +06/1990 | ++ |
verifyTextPresent | +AMA | ++ |
verifyTextPresent | +President | ++ |
verifyTextPresent | +08/2008 - 09/2009 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddResearchFocus1 | ||
comment | +Test Custom Form: Research Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextNotPresent | +Lead Researcher | ++ |
verifyTextNotPresent | +01/2001 - 01/2002 | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Cancer Treatment Drug Interactions | +
type | +description | +Testing new cancer treatment drugs with other drugs to determine interactions. | +
type | +role | +Lead Researcher | +
type | +startYearMonth | +2001-01 | +
type | +endYearMonth | +2002-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +01/2001 - 01/2002 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddResearchFocus2 | ||
comment | +Test Custom Form Again: Research Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +01/2001 - 01/2002 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Relationship Between Stress and Children | ++ |
verifyTextNotPresent | +Consulting Researcher | ++ |
verifyTextNotPresent | +03/2003 - 03/2007 | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Relationship Between Stress and Children | +
type | +description | +Testing to determine if having children makes your life more stressful. | +
type | +role | +Consulting Researcher | +
type | +startYearMonth | +2003-03 | +
type | +endYearMonth | +2007-03 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +01/2001 - 01/2002 | ++ |
verifyTextPresent | +Relationship Between Stress and Children | ++ |
verifyTextPresent | +Consulting Researcher | ++ |
verifyTextPresent | +03/2003 - 03/2007 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddTeachingFocus1 | ||
comment | +Test Custom Form: Teaching Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Drug Interactons | ++ |
verifyTextNotPresent | +Associate Professor | ++ |
verifyTextNotPresent | +02/2001 - 02/2012 | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Drug Interactions | +
type | +description | +Teaching how drugs interact with one another. | +
type | +role | +Associate Professor | +
type | +startYearMonth | +2001-02 | +
type | +endYearMonth | +2012-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +02/2001 - 02/2012 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddTeachingFocus2 | ||
comment | +Test Custom Form Again: Teaching Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +02/2001 - 02/2012 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Introduction to Drugs | ++ |
verifyTextNotPresent | +Lecturer | ++ |
verifyTextNotPresent | +04/2003 - 04/2007 | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Introduction to Drugs | +
type | +description | +Intoduces first year pre-med students to drugs. | +
type | +role | +Lecturer | +
type | +startYearMonth | +2003-04 | +
type | +endYearMonth | +2007-04 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +02/2001 - 02/2012 | ++ |
verifyTextPresent | +Introduction to Drugs | ++ |
verifyTextPresent | +Lecturer | ++ |
verifyTextPresent | +04/2003 - 04/2007 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
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 | ++ |
ChangePositions | ||
comment | +Change 3 existing positions | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify position to be changed exisit | ++ |
verifyTextPresent | +Carroll College Lecturer, 9999 - | ++ |
verifyTextPresent | +Cornell University Assistant Professor, 1986 - 2010 | ++ |
verifyTextPresent | +Carroll College Assistant Professor, 1981 - 1985 | ++ |
comment | +Correct the dates of the lecturer position | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/ul/li[1]/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +startYear | +1977 | +
type | +endYear | +1981 | +
clickAndWait | +submit | ++ |
comment | +Verify positions are still listed correctly | ++ |
verifyTextPresent | +Cornell University Assistant Professor, 1986 - 2010 | ++ |
verifyTextPresent | +Carroll College Assistant Professor, 1981 - 1985 | ++ |
verifyTextPresent | +Carroll College Lecturer, 1977 - 1981 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Change the or organization for one position | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/ul/li[2]/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
click | +link=add a new organization | ++ |
type | +newOrgName | +Carroll University | +
select | +newOrgType | +label=University | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify positions are still listed correctly | ++ |
verifyTextPresent | +Cornell University Assistant Professor, 1986 - 2010 | ++ |
verifyTextPresent | +Carroll University Assistant Professor, 1981 - 1985 | ++ |
verifyTextPresent | +Carroll College Lecturer, 1977 - 1981 | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/ul/li[1]/span/span/a[1] | ++ |
comment | +Change Cornell University position to Carroll University | ++ |
assertTitle | +Edit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
select | +organizationUri | +label=Carroll University | +
type | +title | +Professor | +
type | +endYear | ++ |
clickAndWait | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify positions are still listed correctly | ++ |
verifyTextPresent | +Carroll University Professor, 1986 - | ++ |
verifyTextPresent | +Carroll University Assistant Professor, 1981 - 1985 | ++ |
verifyTextPresent | +Carroll College Lecturer, 1977 - 1981 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateTestFaculty | ||
comment | +Add a Faculty member named 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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
verifyTextPresent | +Data Input | ++ |
select | +VClassURI | +label=Faculty Member (core) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Add Assistant Professor Jane Faculty | ++ |
type | +Name | +Jane Faculty | +
type | +MonikerSelectAlt | +Assistant Professor | +
verifyTextPresent | +Creating New Record | ++ |
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that account was created | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Take a break for indexing | ++ |
pause | +50000 | ++ |
refreshAndWait | ++ | + |
type | +search | +jane faculty | +
clickAndWait | +submit | ++ |
assertTitle | +jane faculty - VIVO Search Results | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateTestLibrarian | ||
comment | +Create Librarian person | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to add new individual page | ++ |
select | +VClassURI | +label=Librarian (core) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Individual Editing Form | ++ |
verifyTextPresent | +Creating New Record | ++ |
comment | +Create new indiviidual | ++ |
type | +Name | +Lilly Librarian | +
type | +MonikerSelectAlt | +Assistant Librarian | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that individual was added sucessfully | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyTextPresent | +Librarian | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
comment | +Take a break for indexing | ++ |
pause | +50000 | ++ |
refreshAndWait | ++ | + |
comment | +Search for new librarian | ++ |
type | +search | +lilly librarian | +
clickAndWait | +submit | ++ |
assertTitle | +lilly librarian - VIVO Search Results | ++ |
verifyTextPresent | +Search Results for 'lilly librarian' | ++ |
verifyElementPresent | +link=Lilly Librarian | ++ |
verifyTextPresent | +Lilly Librarian | Assistant Librarian | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteArticles | ||
comment | +Delete CNN article and book chapter to cleanup database | ++ |
deleteAllVisibleCookies | ++ | + |
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 | ++ |
comment | +Navigate to the Index to find the Article link | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Article | ++ |
assertTitle | +Article | ++ |
comment | +Select the article to delete | ++ |
clickAndWait | +link=Effect of Nintendo on Kids | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete the article | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Verify that there are no articles listed | ++ |
verifyTextNotPresent | +Article | ++ |
comment | +Navigate to the Index to find the Chapter link | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Chapter | ++ |
assertTitle | +Chapter | ++ |
comment | +Select the chapter to delete | ++ |
clickAndWait | +link=Becoming a Digital Library | ++ |
assertTitle | +Becoming a Digital Library | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete the article | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Verify that there are no articles listed | ++ |
verifyTextNotPresent | +Chapter | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteEducationalBackground | ||
comment | +Delete educational backgrounds and organizations | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
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 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify the education to be deleted does indeed exist | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, School of Business, 2005 | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, University of Illinois, Business Department, 2000 | ++ |
comment | +Delete degrees | ++ |
clickAndWait | +link=delete | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +link=delete | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +link=delete | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 3 educational background entries are gone | ++ |
verifyTextNotPresent | +M.Ed. in Business Education, University of Wisconsin, Business Department, 1981, Four year full scholarship | ++ |
verifyTextNotPresent | +B.S. in Business Administration, Carroll College, School of Business, 9999 | ++ |
verifyTextNotPresent | +M.B.A. in Business Administration, University of Illinois, Business Department, 2000 | ++ |
comment | +Search for organizations and delete them | ++ |
type | +search | +carroll college | +
clickAndWait | +submit | ++ |
assertTitle | +carroll college - VIVO Search Results | ++ |
clickAndWait | +link=Carroll College | ++ |
assertTitle | +Carroll College | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +search | +carroll college | +
clickAndWait | +submit | ++ |
assertTitle | +carroll college - VIVO Search Results | ++ |
verifyTextNotPresent | +Carroll College | ++ |
type | +search | +wisconsin | +
clickAndWait | +submit | ++ |
assertTitle | +wisconsin - VIVO Search Results | ++ |
clickAndWait | +link=University of Wisconsin | ++ |
assertTitle | +University of Wisconsin | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +search | +wisconsin | +
clickAndWait | +submit | ++ |
assertTitle | +wisconsin - VIVO Search Results | ++ |
verifyTextNotPresent | +University of Wisconsin | ++ |
type | +search | +illinois | +
clickAndWait | +submit | ++ |
assertTitle | +illinois - VIVO Search Results | ++ |
clickAndWait | +link=University of Illinois | ++ |
assertTitle | +University of Illinois | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +search | +illinois | +
clickAndWait | +submit | ++ |
assertTitle | +illinois - VIVO Search Results | ++ |
verifyTextNotPresent | +University of Illinois | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeletePositions | ||
comment | +Delete all positions setup for test faculty member | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
click | +link=Log in | ++ |
pause | +50000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
click | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member | ++ |
click | +link=Index | ++ |
pause | +50000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +50000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Delete positions one at a time | ++ |
click | +link=delete | ++ |
pause | +50000 | ++ |
assertTitle | +Edit | ++ |
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=delete | ++ |
pause | +50000 | ++ |
assertTitle | +Edit | ++ |
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=delete | ++ |
pause | +50000 | ++ |
assertTitle | +Edit | ++ |
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Index | ++ |
pause | +50000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Delete organizations one at a time | ++ |
click | +link=College | ++ |
waitForPageToLoad | +50000 | ++ |
assertTitle | +College | ++ |
click | +link=Carroll College | ++ |
waitForPageToLoad | +50000 | ++ |
assertTitle | +Carroll College | ++ |
click | +link=edit this individual | ++ |
pause | +50000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +50000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +50000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Organization | ++ |
pause | +50000 | ++ |
assertTitle | +Organization | ++ |
click | +link=Carroll University | ++ |
pause | +50000 | ++ |
assertTitle | +Carroll University | ++ |
click | +link=edit this individual | ++ |
pause | +50000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +50000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +50000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Organization | ++ |
pause | +50000 | ++ |
assertTitle | +Organization | ++ |
click | +link=Cornell University | ++ |
pause | +50000 | ++ |
assertTitle | +Cornell University | ++ |
click | +link=edit this individual | ++ |
pause | +50000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +50000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +50000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
refreshAndWait | +10000 | ++ |
verifyElementNotPresent | +Organizations | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestActivities | ||
comment | +Delete all 8 test activities | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
click | +link=Log in | ++ |
pause | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
click | +loginSubmitMode | ++ |
comment | +Navigate to Jane Faculty via Index | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify 8 activities to be deleted are present | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002 | ++ |
verifyTextPresent | +Relationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007 | ++ |
verifyTextPresent | +Drug Interactions Associate Professor, 02/2001 - 02/2012 | ++ |
verifyTextPresent | +Introduction to Drugs Lecturer, 04/2003 - 04/2007 | ++ |
verifyTextPresent | +AMA President, 08/2008 - 09/2009 | ++ |
verifyTextPresent | +Private practice Doctor, 06/1990 - | ++ |
verifyTextPresent | +Free Cancer Screening Clinic Founder, 12/2001 - 12/2012 | ++ |
verifyTextPresent | +Public lectures on reducing stress Speaker, 05/2005 - 06/2006 | ++ |
comment | +Start deletions | ++ |
click | +link=Cancer Treatment Drug Interactions | ++ |
pause | +10000 | ++ |
assertTitle | +Cancer Treatment Drug Interactions | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Relationship Between Stress and Children | ++ |
pause | +10000 | ++ |
assertTitle | +Relationship Between Stress and Children | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Drug Interactions | ++ |
pause | +10000 | ++ |
assertTitle | +Drug Interactions | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Introduction to Drugs | ++ |
pause | +10000 | ++ |
assertTitle | +Introduction to Drugs | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Free Cancer Screening Clinic | ++ |
pause | +10000 | ++ |
assertTitle | +Free Cancer Screening Clinic | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Public lectures on reducing stress | ++ |
pause | +10000 | ++ |
assertTitle | +Public lectures on reducing stress | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=AMA | ++ |
pause | +10000 | ++ |
assertTitle | +AMA | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Private practice | ++ |
pause | +10000 | ++ |
assertTitle | +Private practice | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
comment | +End deletions | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 8 activities are gone | ++ |
verifyTextNotPresent | +Cancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002 | ++ |
verifyTextNotPresent | +Relationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007 | ++ |
verifyTextNotPresent | +Drug Interactions Associate Professor, 02/2001 - 02/2012 | ++ |
verifyTextNotPresent | +Introduction to Drugs Lecturer, 04/2003 - 04/2007 | ++ |
verifyTextNotPresent | +AMA President, 08/2008 - 09/2009 | ++ |
verifyTextNotPresent | +Private practice Doctor, 06/1990 - | ++ |
verifyTextNotPresent | +Free Cancer Screening Clinic Founder, 12/2001 - 12/2012 | ++ |
verifyTextNotPresent | +Public lectures on reducing stress Speaker, 05/2005 - 06/2006 | ++ |
comment | +Log out | ++ |
click | +link=Log out | ++ |
pause | +10000 | ++ |
assertTitle | +VIVO | ++ |
DeleteTestPeople | ||
comment | +Delete new people Jane Faculty and Lilly Librarian | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
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 | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete Jane Faculty | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
comment | +Navigate to Lilly Librarian | ++ |
clickAndWait | +link=Lilly Librarian | ++ |
assertTitle | +Lilly Librarian | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete Lilly Librarian | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
comment | +Verify Jane Faculty and Lilly Librarian are gone | ++ |
verifyTextNotPresent | +Jane Faculty | ++ |
verifyTextNotPresent | +Lilly Librarian | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
SetAuthorships | ||
comment | +Specify Jane Faculty authored CNN article and book chapter | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must be logged in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to the CNN article | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyTextPresent | +Article | ++ |
clickAndWait | +link=Article | ++ |
assertTitle | +Article | ++ |
comment | +Edit article Effect of Nintendo on Kids | ++ |
clickAndWait | +link=Effect of Nintendo on Kids | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +CNN News Article | ++ |
comment | +Add a new authors entry of Frank Furter | ++ |
clickAndWait | +//div[@id='oprop-core-informationResourceInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
type | +name | +Jane Faculty | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
comment | +Link person Jane Faculty to article author | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='oprop-core-linkedAuthor']/a | ++ |
assertTitle | +Edit | ++ |
select | +objectVar | +label=Jane Faculty | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify author link worked | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
clickAndWait | +link=Effect of Nintendo on Kids | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Jane Faculty | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
comment | +Navigate to the book chapter | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyTextPresent | +Chapter | ++ |
clickAndWait | +link=Chapter | ++ |
assertTitle | +Chapter | ++ |
comment | +Edit book chapter | ++ |
clickAndWait | +link=Becoming a Digital Library | ++ |
assertTitle | +Becoming a Digital Library | ++ |
verifyTextPresent | +Amazon Overiew | ++ |
comment | +Add a new authors entry of Frank Furter | ++ |
clickAndWait | +//div[@id='oprop-core-informationResourceInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
type | +name | +Jane Faculty | +
clickAndWait | +submit | ++ |
assertTitle | +Becoming a Digital Library | ++ |
comment | +Link person Jane Faculty to article author | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='oprop-core-linkedAuthor']/a | ++ |
assertTitle | +Edit | ++ |
select | +objectVar | +label=Jane Faculty | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify author link worked | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Becoming a Digital Library | ++ |
clickAndWait | +link=Becoming a Digital Library | ++ |
assertTitle | +Becoming a Digital Library | ++ |
verifyTextPresent | +Jane Faculty | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +Becoming a Digital Library | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
TestActivityQuery | ||
comment | +Run SPARQL query to list all activities for people | ++ |
deleteAllVisibleCookies | ++ | + |
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 SPARQL Query option on the Site Administration page | ++ |
clickAndWait | +link=SPARQL query | ++ |
assertTitle | +SPARQL Query | ++ |
type | +query | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX swrl: <http://www.w3.org/2003/11/swrl#> PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX bibo: <http://purl.org/ontology/bibo#> # This query returns name, Outreach Activity, and NameURI, # filter constrains to only those persons with outreach activity # comment the filter line to return all persons SELECT ?personL ?allActL ?person WHERE { ?person rdf:type foaf:Person . OPTIONAL { ?person rdfs:label ?personLbl . LET (?personL := str(?personLbl)). } OPTIONAL { ?person core:hasActivity ?allAct . ?allAct rdfs:label ?allActLbl . LET (?allActL := str(?allActLbl)). } FILTER (?allActL || "") } ORDER BY ?personL LIMIT 100 |
+
clickAndWait | +//input[@value='Run Query'] | ++ |
assertTitle | ++ | + |
comment | +Verify query results | ++ |
verifyTextPresent | +personL | ++ |
verifyTextPresent | +"Jane Faculty" | ++ |
verifyTextPresent | +allActL | ++ |
verifyTextPresent | +"Cancer Treatment Drug Interactions" | ++ |
verifyTextPresent | +"Drug Interactions" | ++ |
verifyTextPresent | +"Free Cancer Screening Clinic" | ++ |
verifyTextPresent | +"Public lectures on reducing stress" | ++ |
verifyTextPresent | +"Introduction to Drugs" | ++ |
verifyTextPresent | +"AMA" | ++ |
verifyTextPresent | +"Private practice" | ++ |
verifyTextPresent | +"Relationship Between Stress and Children" | ++ |
verifyTextPresent | +person | ++ |
verifyTextPresent | +<http://vivo.local.edu/individual/n | ++ |
goBack | ++ | + |
assertTitle | +SPARQL Query | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
TestDefaultQuery | ||
comment | +Run SPARQL query that is the default upon installation | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to SPARQL query option on the Site Administration page | ++ |
clickAndWait | +link=SPARQL query | ++ |
assertTitle | +SPARQL Query | ++ |
clickAndWait | +//input[@value='Run Query'] | ++ |
comment | +Run query as is | ++ |
assertTitle | ++ | + |
comment | +Verify query output | ++ |
verifyTextPresent | +geoLocation | ++ |
verifyTextPresent | +<http://aims.fao.org/aos/geopolitical.owl#Antarctica> | ++ |
verifyTextPresent | +label | ++ |
verifyTextPresent | +"western Asia"^^<http://www.w3.org/2001/XMLSchema#string> | ++ |
goBackAndWait | ++ | + |
assertTitle | +SPARQL Query | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
TestPeopleQuery | ||
comment | +Run SPARQL query to list all people | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to SPARQL query option on Site Administration page | ++ |
clickAndWait | +link=SPARQL query | ++ |
assertTitle | +SPARQL Query | ++ |
selectWindow | +null | ++ |
comment | +Enter query | ++ |
type | +query | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX swrl: <http://www.w3.org/2003/11/swrl#> PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX bibo: <http://purl.org/ontology/bibo#> # This query returns name and NameURI, # remove the comment pound sign in front of lines to "uncomment" them # uncomment the filter line and edit name text "Jill" to return specific people SELECT ?personL ?person WHERE { ?person rdf:type foaf:Person . ?person rdfs:label ?personL . #filter(regex(?personL,"Jill","i")) } ORDER BY ?personL LIMIT 100 |
+
click | +//input[@value='Run Query'] | ++ |
pause | +50000 | ++ |
comment | +Verify query output | ++ |
verifyTextPresent | +personL | ++ |
verifyTextPresent | +"Jane Faculty"@en-US | ++ |
verifyTextPresent | +"Lilly Librarian"@en-US | ++ |
verifyTextPresent | +person | ++ |
verifyTextPresent | +<http://vivo.local.edu/individual/n | ++ |
verifyTextPresent | +<http://vivo.local.edu/individual/n | ++ |
goBackAndWait | ++ | + |
assertTitle | +SPARQL Query | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
TestPositionQuery | ||
comment | +Run SPARQL query to find positions | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to SPARQL Query option on Site Administration page | ++ |
clickAndWait | +link=SPARQL query | ++ |
assertTitle | +SPARQL Query | ++ |
type | +query | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX swrl: <http://www.w3.org/2003/11/swrl#> PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX bibo: <http://purl.org/ontology/bibo#> # This query returns name, position, and NameURI, # filter constrains to only those persons with positions # comment the filter line to return all persons SELECT ?personL ?positionL ?person WHERE { ?person rdf:type foaf:Person . OPTIONAL { ?person rdfs:label ?personLbl . LET (?personL := str(?personLbl)). } OPTIONAL { ?person core:personInPosition ?position . ?position rdfs:label ?positionLbl . LET (?positionL := str(?positionLbl)). } FILTER (?positionL || "") } ORDER BY ?personL LIMIT 100 |
+
clickAndWait | +//input[@value='Run Query'] | ++ |
assertTitle | ++ | + |
comment | +Verify query results | ++ |
verifyTextPresent | +personL | ++ |
verifyTextPresent | +"Jane Faculty" | ++ |
verifyTextPresent | +positionL | ++ |
verifyTextPresent | +"Professor" | ++ |
verifyTextPresent | +"Lecturer" | ++ |
verifyTextPresent | +"Assistant Professor" | ++ |
verifyTextPresent | +person | ++ |
verifyTextPresent | +<http://vivo.local.edu/individual/n | ++ |
goBack | ++ | + |
assertTitle | +SPARQL Query | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
TestResearchFocusQuery | ||
comment | +Run SPARL query to list Research Focus activities | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to SPARQL query option on Site Administration page | ++ |
clickAndWait | +link=SPARQL query | ++ |
assertTitle | +SPARQL Query | ++ |
type | +query | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX swrl: <http://www.w3.org/2003/11/swrl#> PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX bibo: <http://purl.org/ontology/bibo#> # This query returns name, Research Focus, and NameURI, # filter constrains to only those persons with ResearchActivity # comment the filter line to return all persons SELECT ?personL ?resActL ?person WHERE { ?person rdf:type foaf:Person . OPTIONAL { ?person rdfs:label ?personLbl . LET (?personL := str(?personLbl)). } OPTIONAL { ?resAct core:researchActivityBy ?person . ?resAct rdfs:label ?resActLbl . LET (?resActL := str(?resActLbl)). } FILTER (?resActL || "") } ORDER BY ?personL LIMIT 100 |
+
clickAndWait | +//input[@value='Run Query'] | ++ |
assertTitle | ++ | + |
verifyTextPresent | +personL | ++ |
verifyTextPresent | +"Jane Faculty" | ++ |
verifyTextPresent | +"Jane Faculty" | ++ |
verifyTextPresent | +resActL | ++ |
verifyTextPresent | +"Cancer Treatment Drug Interactions" | ++ |
verifyTextPresent | +"Relationship Between Stress and Children" | ++ |
verifyTextPresent | +person | ++ |
verifyTextPresent | +<http://vivo.local.edu/individual/n | ++ |
verifyTextPresent | +<http://vivo.local.edu/individual/n | ++ |
goBackAndWait | +10000 | ++ |
assertTitle | +SPARQL Query | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |