clickLink >> Xpath
Hello all,
I'm new to webtest, and a horrible programmer. This is what I need Xpath to do:
1. find a table cell containing a plain text string
2. follow a link in the cell two spaces to the left
simplified example of my table:
<table>
<tbody>
<tr>
<td> <a href="link">link</a> </td>
<td> </td>
<td> string </td>
</tr>
</tbody>
</table>
my clickLink tag:
<clickLink
description="find link relative to string"
xpath="//td[contains(text(),'string')-2]/a[1]"
/>
Thank you!
-Brian