Many thanks for the reply! I did reply to the list via email before discovering this Nable forum, this board should REALLY be mentionned in the Webtest support page. We do live in the 21st century after all... honestly I was going to give up reading the klunky mailing list before landing here at Nable.
Now for the good news. I found another topic where you advice to upgrade the nekoHtml library, I took the one that comes with the lastest build and copied it into the lib directory of version 2.6. and threw away the old version. This solves my problem, all pages are behaving now. Regards, Avander Marc Guillemot wrote: > > Hi, > > I guess that this is due to a bug in title parsing due to the '. This > has already been fixed for a long time and you could use a recent build > rather that the older release 2.6. > > Cheers, > Marc. > -- > Blog: http://mguillem.wordpress.com > > A Vander wrote: >> Hi guys, >> >> I have several pages bombing out early due to what seems to be a rather >> groce parsing error in a verifyXPath step for the /html/head/title. >> >> The error messages look like following excerpt: >> -------------------------------------------------------------------------- >> BUILD FAILED >> D:\tools\webtest-2.6\webtest.xml:184: The following error occurred while >> executi >> ng this line: >> D:\workspaceJP\jp-ep2i-tests-Canoo\src\main\web-test\usecases\allTests.xml:132: >> The following error occurred while executing this line: >> D:\workspaceJP\jp-ep2i-tests-Canoo\src\main\web-test\usecases\allTests.xml:141: >> The following error occurred while executing this line: >> D:\workspaceJP\jp-ep2i-tests-Canoo\src\main\web-test\usecases\login\loginDeAgeLo >> >> wer18.xml:13: Wrong result for xpath >/html/head/title<. Expected value >> "Profil >> administratif/signalΘtique - Conditions α l'inscription non remplies" but >> got "P >> rofil administratif/signalΘtique - Conditions α l'inscription non >> remplies</titl >> e> <meta http-equiv="Cache-Control" content="no-store" /> <meta >> http-equiv="Prag >> ma" content="no-cache" /> <meta http-equiv="Expires" content="0" /> <meta >> http-e >> quiv="Content-Type" content="text/html; charset=ISO-8859-15" /> <link >> rel="style >> sheet" href="/jp-ep2i/styles/styleFxxxx.css" type="text/css" >> media="screen"/> <s >> cript language="JavaScript" type="text/javascript"> // Cette fonction >> permet de >> vΘrifier la validitΘ d'une date au format jj/mm/aaaa function isDate(d) { >> // Si >> la variable est vide on retourne faux. if (d == "") return true; // On >> teste l'e >> >> ... rest of the page here ... >> >> </body> </html>" >> >> Total time: 4 seconds >> -------------------------------------------------------------------------- >> >> It looks as if wt has his document tree mixed up and considers everything >> following the title's start tag as being part of the title. All pages >> presenting this behaviour do validate using the FF HTML Validator >> extension. >> >> Upgrading to latest build does solve the problem but breaks numerous >> verifyXPath's that do work in wt 2.6. So it seems I'm stuck in a dead end >> street... >> >> Any ideas on how to avoid the 'parse error' or the xpath issue of the >> latest build R_1716? >> >> TIA, Avander >> >> >> >> >> >> >> >> >> _______________________________________________ >> WebTest mailing list >> [email protected] >> http://lists.canoo.com/mailman/listinfo/webtest >> > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > -- View this message in context: http://www.nabble.com/verifyXPath-on--html-head-title-returning-%27parse%27-error-in-wt-2.6--tp19370861p19391201.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

