Hi Colin, can you provide a simplified version of the HTML page allowing to reproduce the difference between R1714 and R1737?
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Colin O'Brien wrote: > Hi Mark, > > Here is the result with the suggested xpath you provided > > _R_1737 returns_ > <storeXPath > property="whatDoIContain" > xpath="//span[contains(text(), 'Subscriber')]/@class" > /> > No match for xpath expression <//span[contains(text(), > 'Subscriber')]/@class> > > _R_1714 returns_ > <storeXPath > property="whatDoIContain" > xpath="//span[contains(text(), 'Subscriber')]/@class" > /> > No match for xpath expression <//span[contains(text(), > 'Subscriber')]/@class> > > So neither release version appear able to resolve the xpath > "//span[contains(text(), 'Subscriber')]/@class", is this what you were > expecting...? > > Kind Regards, > Colin. > > > > > --__--__-- > > Message: 2 > Date: Wed, 04 Feb 2009 09:16:45 +0100 > From: Marc Guillemot <mguille...@yahoo.fr <mailto:mguille...@yahoo.fr>> > To: webtest@lists.canoo.com <mailto:webtest@lists.canoo.com> > Subject: Re: [Webtest] Re: R_1714 to R_1737 differences...? > Reply-To: webtest@lists.canoo.com <mailto:webtest@lists.canoo.com> > Reply-To: Marc Guillemot <mguille...@yahoo.fr > <mailto:mguille...@yahoo.fr>> > > Hi Colin, > > this is strange. > > What do you get for results for instance with: > //span[contains(text(), 'Subscriber')]/@class > > Cheers, > Marc. > -- > Web: http://www.efficient-webtesting.com > <http://www.efficient-webtesting.com/> > Blog: http://mguillem.wordpress.com <http://mguillem.wordpress.com/> > > Colin O'Brien wrote: > > Hi Mark, > > > > The node isn't matched at all it would appear. I've tried to use > > storeXPath to see what is actually being matched for the node I'm > > searching but the error returned reports that there is no match at all > > for that node... > > > > Below is the actual span element as it appears in the source: > > > > <SPAN class=pagetitle>Items for a Subscriber</SPAN> > > > > Is the fact that "pagetitle" is unquoted likely to cause a problem if > > strict html rules are being applied with the new version of > htmlUnit...? > > > > From WebTest Results: > > > > storeXPath with R_1714 > > property: whatDoIContain > > xpath: //sp...@class='pagetitle']/text() > > => value: Items for a Subscriber > > > > storeXPath with R_1737 > > property: whatDoIContain > > xpath: //sp...@class='pagetitle']/text() > > error: No match for xpath expression > <//sp...@class='pagetitle']/text()> > > > > Best Regards, > > Colin. > _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest