[Webtest] XPath: Absolut element location versus conditional branch (new in English)
Daniel Sheppard
webtest@lists.canoo.com
Thu, 28 Nov 2002 09:46:35 +1100
I believe I see your problem
<verifyxpath stepid=3D"check 6" xpath=3D"//tr[td=3DEUR]" text=3D"VV" rege=
x=3D"false"/>
//tr[td=3DEUR] is not testing what you want it to.
This would look for a structure in your document like so:
<TR>
=09<TD>xfasd</TD>
=09<EUR>xfasd</EUR>
</TR>
You need to enclose the string EUR in single quotes.
//tr[td=3D'EUR']
Daniel Sheppard
eCommerce Developer
Pronto Software Pty Ltd
Phone: +61-3-9887-7770 Fax: +61-3-9887-7779
=20
#########################################################################=
############
This email has been scanned by MailMarshal, an email content filter.
#########################################################################=
############