maybe like this ?
 <verifyXPath description="Verify that value $800.0" text="$800.00"
xpath="string(//html//span[2])" />
  Regards,
Robert

2008/2/25, Olivia Chan <[EMAIL PROTECTED]>:
>
>  I am trying to verify some text using verifyXPath. However, the xpath
> contains a single quote and I don't know how to "escape" it properly...
>
> I have tried using just ' and &apos; but it doesn't work
>
> <verifyXPath xpath="//tr[td/span='Missing 867 Sales - Positive 844's with
> Partial Matches ']/td[2]/span" text="$800.00"/>
>
> <verifyXPath xpath="//tr[td/span='Missing 867 Sales - Positive 844&apos;s
> with Partial Matches ']/td[2]/span" text="$800.00"/>
>
>
> The html source is
> <tr>
>   <td>
>     <span title="Analysis">Missing 867 Sales - Positive 844's with Partial
> Matches </span>
>   </td>
>   <td>
>     <span title="Value">$800.00</span>
>   </td>
> </tr>
>
> Any help is really appreciated.
> Olivia
>

Reply via email to