[Webtest] Some mystery with xpath

dariusch dariusch <dariusch.zohurian@mindmatters.de>
Thu, 25 Sep 2008 02:29:54 -0700 (PDT)


Hi,

befor (webtest 2.5) i upgrade to the last revision everything works fine.

Cheers,
Dariusch



dariusch wrote:
> 
> Hello,
> 
> if i call:
> 
> <verifyXPath
>     xpath="//h3[@id='accountTypeHeader']/a/text()"
>     text="User" />
> 
> i get true
> 
> if i call:
> 
> <storexpath description="check account type."
> 	xpath="//h3[@id='accountTypeHeader']/a/text()=User"
> 	property="isAccount" />
> 
> isAccount == false 
> 
> why is it false ?
> 
> On the result page from webtest there is:
> 
> xpath	//h3[@id='accountTypeHeader']/a/text()=User 
> 
> it seams that the xpath is not terminated.
> 
> Cheers,
> Dariusch
> 

-- 
View this message in context: http://www.nabble.com/Some-mystery-with-xpath-tp19665788p19666040.html
Sent from the WebTest mailing list archive at Nabble.com.