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><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></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]
>
>