Le jeudi 22 mai 2008 à 10:18 -0400, Robert Koberg a écrit :
> On Thu, 2008-05-22 at 15:59 +0200, dav wrote:
> > [...]
> >
> > > Now, just modifying verifyXPath and removing the '/' before #{userId}
> > > and test pass successfully...
> >
> > More exactly : using webTest R1705 passed (without '/'), failed with
> > R1706 (with or without '/') :-(
> >
> > I test this (my previous XPath before upgrading to 1706) :
> >
> > //img[contains(@src,'/#{userId}.jpg')]
>
>
> you are asking if *all* images contain the @src '/#{userId}.jpg'
But if matching at least one node, webTest should not tells me "matched
no nodes". I just want to be sure this link is present, I'm using wrong
XPath ? Or to check if present or no so ?
David.
--
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest