[Webtest] Some mystery with xpath

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


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-tp19665788p19665788.html
Sent from the WebTest mailing list archive at Nabble.com.