[Webtest] [webtest][JIRA] Created: (WT-16) New step: verifyLinkedContent
Denis N. Antonioli (JIRA)
webtest@lists.canoo.com
Mon, 7 Feb 2005 14:41:30 +0100 (CET)
New step: verifyLinkedContent
-----------------------------
Key: WT-16
URL: http://webtest-community.canoo.com/jira/browse/WT-16
Project: WebTest
Type: New Feature
Reporter: Denis N. Antonioli
Assigned to: Dierk Koenig
New step verifyLinkedContent with the two attributes xpath and accept.
Apply the xpath on the current document, performs an http HEAD on each found node and verifies that
the returned mime-type matchs the accept.
xpath is an xpath to select the link to verify
accept is modeled after HTTPS' accept header field (see. rfc 2616)
Example:
<verifyLinkedContent xpath="//a/@href" /> checks all href
<verifyLinkedContent /> idem, but implicit?
<verifyLinkedContent xpath="//img/@src" /> verify the link for all the images
<verifyLinkedContent xpath="/html/head/link[@rel='stylesheet']/@href" /> verify the link for all the stylesheets.
<verifyLinkedContent xpath="//img/@src" accept="img/*" /> any images
<verifyLinkedContent xpath="//img/@src" accept="img/gif" /> only gif
<verifyLinkedContent xpath="//img/@src" accept="img/gif;img/png" /> gif or png
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira