I have been searching for about an hour so I thought I would give this a shot.
I have an html page similar to this this:
<table>
<tbody>
<tr>
<td>
<input name="bla1" type="hidden" value="0" />
<input name="bla1" type="text" value="find me" />
</td>
<td>
<input name="other" type="text" value="find me" />
</td>
</tr>
.
.
.
.
</tbody>
</table>
That is the basic structure. Now what I want to do is verify that (in the last row of the table) the second input element from the first td element has the value attribute set to "find me"
Each table row is like this. But I need to do this for only the last row.
So far I have this which is not working:
assertText | xpath=//table[1]//tr[last()]/td[1]/input[@value='.....'] | ......
where the ... represents what I am trying to verify.
There is only one table on the website. I am trying to verify a certain string is or is not present.
Thank you