09-04-2008 03:30 PM
I am trying to program a click to the submit/apply button on a web page of a product I am trying to test. The HTML code defines the buttons as follows:
<!-- buttons table starts here -->
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><input type="submit" name="Button" value="Apply" class="button" /></td>
<td width="10"><spacer width="10" height="10"></spacer></td>
<td><input type="reset" name="Button" value="Cancel" class="button" /></td>
<td width="10"><spacer width="10" height="10"></spacer></td>
<td><input type="submit" name="Button" value="Help" class="button" /></td>
<td width="10"><spacer width="10" height="10"></spacer></td>
<td> </td>
</tr>
</table>
<!-- buttons table ends here -->
I am able to invoke a node for the other parameters in the webpage, and I am also able to change their values. In order to click the "Apply" button I have my code as follows (see attached picture).
My problem is that the button press does not work reliably... Any suggestions out there on how to program this button press better?
09-04-2008 04:10 PM
09-05-2008 07:05 AM
Indeed, I believe you are correct about the naming of all the buttons as "Button". Unfortunatley it is not my code, and I have no way of changing it.
I'm hoping I can get different ideas from some of the helpful folks on these forums 🙂
09-05-2008 09:11 AM