Hi All,

Can any help me in figuring out the xpath. I would like to get the xpath for
<input type="checkbox" name="managerApprovals" value="333666">

my xpath...
(//input[../../preceding-sibling/::td/a[text()='123456789']])

is getting me...
<input type="hidden" name="testDetail[1].val" value="500">

The only value that know is 123456789.

---------------Below is the
HTML----------------------------------------------------

<tr>
<td>
<a href="/test/portal/test.do?CI=true&amp;id=71681"
target="_blank">123456789</a>
</td>
<td>501c3/509A2</td>
<td><span class="normalText">10/05/2010</span></td>
<td>Othet</td>
<td>ageorge</td>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
  <tr>
<td align="center">
<input type="checkbox" name="managerApprovals" value="333666">
</td>
</tr>
</table>
</td>
<td align="center">
<input type="hidden" name="testDetail[1].val" value="500">
</td>
</tr>


Thank you

Regards,
Srini

Reply via email to