[Webtest] Verify Stylesheets
Denis N. Antonioli
webtest@lists.canoo.com
Wed, 2 Feb 2005 07:35:58 +0100
Thinking loud about it, couldn't we adapt verifyLinks to accept an=20
xpath attribute?
The attribute would then select the kind of link to verify:
<verifyLinks /> as now, checks the href
<verifyLinks xpath=3D"//a/@href" /> same as now, but explicit
<verifyLinks xpath=3D"//img/@src" /> verify the link for all the images
<verifyLinks xpath=3D"/html/head/link[@rel=3D'stylesheet']/@href" /> =
verify=20
the link for all the stylesheets.
Does that make sense?
dna
On 1 f=E9vr. 05, at 14:31, Marc Guillemot wrote:
> No possibility yet, you have to write your own step.
>
> In a second time, I think that it could be interesting to be able to=20=
> configure the "web client" to check for ALL external resources on each=20=
> page loaded (images, css). But that's for later...
>
> Marc.
>
>
> Thierry Boullet wrote:
>> Hi,
>> How can I verify that all stylesheets (.css) referenced in the last=20=
>> page are available ?
>> Like "verifyimages" does it for the images.
>> I use the version 1.7 Build R6_49.
>> Thanks in advance
>> Thierry
>> Thierry Boullet
>> www.kereval.com
>> _______________________________________________ WebTest mailing list=20=
>> WebTest@lists.canoo.com=20
>> http://lists.canoo.com/mailman/listinfo/webtest
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
--=20
I only work in order to have leisure, and I like to enjoy
my leisure without disturbance.
-- W. Somerset Maugham, The vessel of wrath