Hi,
I am wondering if it is possible to do the following from a webtest
testcase:
I have a webpage containing a table with 2 columns, 1st column contains a
filename, 2nd column contains a link.
I would like to create a webtest that searches the 1st column, checks the
filename against the current date, and if it matches, to click on the link.
(The number of rows is variable, the number of columns is constant)
For example:
<table border="1">
<thead><tr><th class="tableHeader">Filename</th><th
class="tableHeader">Status</th></tr></thead>
<tbody id="swdlform:apptab:_idJsp71:tbody_element"
<tr><td>20080102.tar.gz</td><td><a href="#" onclick="return
oamSubmitForm('20080102');" id="idJsp71:18">Click</a></td></tr>
<tr><td>20080103.tar.gz</td><td><a href="#" onclick="return
oamSubmitForm('20080103');" id="idJsp71:19">Click</a></td></tr>
.
.
.
</tbody>
</table>
Is this possible?
If it is, an example would be greatly appreciated - I am brand new to
webtest.
Thanks for the help