[Webtest] Bug: Inconsequent behavior with verifyxpath!
Denis N. Antonioli
webtest@lists.canoo.com
Tue, 22 Mar 2005 09:46:09 +0100 (CET)
Hallo Mittie
I checked the document with xpath explorer. The dom shows a single text()
for the complete <h2>...</h2>. In that text, the ü has been converted
to unicode \u00FC.
Thanks
dna
On Tue, 22 Mar 2005, Dierk Koenig wrote:
> Hi Denis,
>
> have you looked at it in the xpath explorer or some other
> dom visualizer? I guess there is some extra node in the dom for
> the uuml entity.
> The verifytext still doesn't fail because it works on the raw
> input, not on the dom.
>
> cheers
> Mittie
>
> > -----Original Message-----
> > From: webtest-admin@lists.canoo.com
> > [mailto:webtest-admin@lists.canoo.com]On Behalf Of Denis N. Antonioli
> > Sent: Montag, 21. Marz 2005 21:57
> > To: webtest@lists.canoo.com
> > Subject: [Webtest] Bug: Inconsequent behavior with verifyxpath!
> >
> >
> > Hi
> >
> > I just found a strange issue with the latest release of webtest:
> >
> > I'm checking a file that contains entities such as:
> >
> > <html>
> > <head>
> > </head>
> > <body>
> > <h2>Resultate für das Team 33</h2>
> > </body>
> > <html>
> >
> > In the webtest, I use alternatively the following two expression:
> > <verifyxpath xpath="/html/body/h2" text="Resultate f&uuml;r das
> > Team 33"/>
> > <verifytext text="Resultate f&uuml;r das Team 33"/>
> >
> > Obviously, both should work, but only verifytext is working.
> > The verifyxpath fails with:
> > /html/body/h2 evaluates to: Resultate f?r das Team 33, expected value
> > is: Resultate für das Team 33
> >
> >
> > Is this known?
> > Any hint on how to solve this?
> >
> >
> > Best
> > dna
> >
> > --
> > A vacuum is a hell of a lot better than some of the stuff that nature
> > replaces it with.
> > -- Tennessee Williams
> >
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
> >
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>