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 Blog: 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