[Webtest] Problem to submit form with <BUTTON>

Xavier MOGHRABI webtest@lists.canoo.com
Tue, 12 Oct 2004 10:02:43 +0200


Hello,

I recently focus on Canoo Webtest. I've done some tests and I didn't success 
to use clickbutton on the tags <button>.

For example, i've got a form like this following one : 

FORM action="http://somesite.com/prog/adduser" method="post">
    First name: <INPUT type="text" name="firstname"><BR>
    Last name: <INPUT type="text" name="lastname"><BR>
    email: <INPUT type="text" name="email"><BR>
    <INPUT type="radio" name="sex" value="Male"> Male<BR>
    <INPUT type="radio" name="sex" value="Female"> Female<BR>
    <BUTTON name="submit" value="submit" type="submit">
    Send<IMG src="/icons/wow.gif" alt="wow"></BUTTON>
    <BUTTON name="reset" type="reset">
    Reset<IMG src="/icons/oops.gif" alt="oops"></BUTTON>
 </FORM>

Does anybody know how can I submit the form with Canoo Webtest ?

Indeed clikbutton submits only on tag like <INPUT type="submit" .../> or 
<INPUT type="image" .../>. However the tag <BUTTON> can be use instead and 
it's compliant HTML 4.01

Thanks for your further answers.

-- 
Xavier MOGHRABI - Consortium ObjectWeb
Email : xavier.moghrabi at inrialpes.fr
Phone : +33 4 76 61 55 25