[Webtest] Problem to submit form with <BUTTON>
webtest@lists.canoo.com
webtest@lists.canoo.com
Tue, 12 Oct 2004 13:55:44 +0200 (CEST)
Hi Xavier,
thanx for your post.
our functional selftests currently cover
<input type=submit ...
and
<input type=button ...
but not
<button...
We need to complete this.
For clicking on Buttons, WebTest relies on an
HttpUnit functionality "form.getSubmitButtons()".
This may be defect in the version we use (1.5.4).
The issue is likely to be solved with the move that
we are currently going though as the underlying
execution engine is concerned.
I will add a testcase asap (possibly friday) but
defer further investigation until our move is
completed.
cheers
Mittie
-------- Original Message --------
From: xavier.moghrabi@inrialpes.fr
Sent: Tue Oct 12 10:02:43 CEST 2004
To: webtest@gate2.canoo.com
CC:
Subject: [Webtest] Problem to submit form with <BUTTON>
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
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest
---------------- End of Message -----------------
-------- Original Message --------
From: xavier.moghrabi@inrialpes.fr
Sent: Tue Oct 12 10:02:43 CEST 2004
To: webtest@gate2.canoo.com
CC:
Subject: [Webtest] Problem to submit form with <BUTTON>
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
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest
---------------- End of Message -----------------