[Webtest] 2 of 3 radio buttons work but first one doesn't
Marc Guillemot
webtest@lists.canoo.com
Thu, 11 Mar 2004 09:47:31 +0100
Hi,
try with <setinputfield>, that is what I use for radio buttons.
No idea why it works with <setchekbox> for 2 of the 3 radio buttons.
Marc.
luke templin wrote:
> I have a form with 3 radio buttons laid out in a
> table:
> <table align="center">
>
> <tr>
> <th>Purpose</th><th>Check this</th>
> </tr>
> <tr>
> <td align="right"><label
> for="destination1">Appraisal:</label><input
> type="Radio" name="destination" value="unharv"
> id="destination1"></td>
> </tr>
>
>
> <tr>
> <td align="right"><label
> for="destination2">Harvest:</label><input type="Radio"
> name="destination" value="Harvest"
> id="destination2"></td>
> </tr>
>
> <tr>
> <td align="right"><label for="destination3">Load
> & Sale Analysis:</label><input type="Radio"
> name="destination" value="Load"
> id="destination3"></td>
> </tr>
>
> </table>
>
> Using a webtest script like this:
> <setcheckbox
> stepid="select the harvest radio button"
> name="destination"
> value="unharv" />
>
> <clickbutton
> stepid="submit choices for count entry 2 to display
> the harvest data entry form"
> name="submit"
> save="MustardApprClear" />
>
> works for the 2nd and 3rd buttons. But the first
> button apparently is never set.
>
> I've checked the parser and other than three instances
> of the table tag not having a "summary" attribute
> there's no issues with parsing on the page. The html
> code also has been inspected for incorrectly nested
> tags but I can't see them if they're there.
>
> Hints or suggestions?
>
> Luke Templin
>
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>