This is not a valid XPATH
//something/inclusions="${Inclusion}"

//something/inclusions[text() = '${Inclusion}'] --> Take care of spaces,
newlines etc. ${Inclusion} should be <p> i.e. unescaped

Id still think a normal response assertion is the better way
regards
deepak

On Mon, Mar 1, 2010 at 10:09 PM, Sagar G <[email protected]> wrote:

>
> i am correcting myself....i used the fallowing expression
> //something/inclusions="${Inclusion}"
>
> and if view as text it is showing
>
> <inclusions>&lt;p&gt;Two-hour escorted walking tour &lt;/p&gt;
> &lt;p&gt;Trained guide to show you the stops&lt;/p&gt;
> &lt;p&gt;Audio guide in 10 languages, provided to each
> participant&lt;/p&gt;
> &lt;p&gt;Entrance fees at sites (where foreseen)&lt;/p&gt;
> &lt;P&gt;Children ages six and under are free&lt;/p&gt;</inclusions>
>
> if i render it as xml it shows
>
> <p>Two-hour escorted walking tour </p> <p>Trained guide to show you the
> stops</p> <p>Audio guide in 10 languages, provided to each participant</p>
> <p>Entrance fees at sites (where foreseen)</p> <P>Children ages six and
> under are free</p>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Problem-with-the-XPath-assertion-as-data-to-be-asserted-conntains-html-tags-tp27741740p27752475.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to