deleteAllVisibleCookies |
|
|
setTimeout |
100000000000 |
|
open |
/vivo/ |
|
assertTitle |
VIVO |
|
clickAndWait |
link=Log in |
|
assertTitle |
Log in to VIVO |
|
type |
id=loginName |
testAdmin@cornell.edu |
type |
id=loginPassword |
Password |
clickAndWait |
name=loginForm |
|
assertTitle |
VIVO |
|
open |
/vivo/TestLinkedOpenData.html |
|
verifyTextPresent |
Test the Linked Open Data requests |
|
verifyTextPresent |
Try various accept headers |
|
verifyElementPresent |
id=RDFXML_button |
|
verifyElementPresent |
id=N3_button |
|
verifyElementPresent |
id=TTL_button |
|
verifyElementPresent |
id=JSONLD_button |
|
verifyTextPresent |
Try non-existent URI with RDFXML accept header |
|
verifyElementPresent |
id=BOGUS_URI_button |
|
verifyElementPresent |
id=BOGUS_ACCEPT_button |
|
verifyElementPresent |
id=BOGUS_FORMAT_button |
|
verifyElementPresent |
id=BOGUS_EXTENSION_button |
|
verifyTextPresent |
Response data |
|
verifyElementPresent |
id=CLEAR_button |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=RDFXML_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 200 |
|
verifyTextPresent |
MIME type is application/rdf+xml |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
<rdf:RDF xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#" xmlns:c4o="http://purl.org/spar/c4o/" xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:obo="http://purl.obolibrary.org/obo/" xmlns:ocrer="http://purl.org/net/OCRe/research.owl#" xmlns:event="http://purl.org/NET/c4dm/event.owl#" |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=N3_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 200 |
|
verifyTextPresent |
MIME type is text/n3 |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
@prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> . @prefix geo: <http://aims.fao.org/aos/geopolitical.owl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix scires: <http://vivoweb.org/ontology/scientific-research#> . @prefix cito: <http://purl.org/spar/cito/> . @prefix fabio: <http://purl.org/spar/fabio/> . @prefix vcard: <http://www.w3.org/2006/vcard/ns#> . |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=TTL_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 200 |
|
verifyTextPresent |
MIME type is text/turtle |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
@prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> . @prefix geo: <http://aims.fao.org/aos/geopolitical.owl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix scires: <http://vivoweb.org/ontology/scientific-research#> . @prefix cito: <http://purl.org/spar/cito/> . @prefix fabio: <http://purl.org/spar/fabio/> . @prefix vcard: <http://www.w3.org/2006/vcard/ns#> . |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=JSONLD_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 200 |
|
verifyTextPresent |
MIME type is application/json |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=BOGUS_URI_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 404 |
|
verifyTextPresent |
MIME type is text/html |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Individual Not Found</title> <!-- vitro base styles (application-wide) --> <link |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=BOGUS_ACCEPT_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 200 |
|
verifyTextPresent |
MIME type is text/html |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Example, Bad </title> <!-- vitro base styles (application-wide) --> <link |
|
verifyTextPresent |
Mr. Bad Example |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=BOGUS_FORMAT_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 200 |
|
verifyTextPresent |
MIME type is text/html |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Example, Bad </title> <!-- vitro base styles (application-wide) --> <link |
|
verifyTextPresent |
Mr. Bad Example |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
click |
id=BOGUS_EXTENSION_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 404 |
|
verifyTextPresent |
MIME type is text/html |
|
verifyTextPresent |
Text is: |
|
verifyTextNotPresent |
No text |
|
verifyTextPresent |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Individual Not Found</title> <!-- vitro base styles (application-wide) --> <link |
|
verifyTextNotPresent |
Mr. Bad Example |
|
verifyTextPresent |
Individual not found |
|
click |
id=CLEAR_button |
|
pause |
5000 |
|
verifyTextPresent |
Response code is 000 |
|
verifyTextPresent |
MIME type is No type |
|
verifyTextPresent |
Text is: |
|
verifyTextPresent |
No text |
|
open |
/vivo/ |
|
clickAndWait |
link=Log out |
|