[Webtest] button in a table
Marc Guillemot
webtest@lists.canoo.com
Tue, 23 Sep 2003 14:21:15 +0200
As I can see, the problem is not with the submit button but with a (text?) input
field named "UserID" you try to set in your test script and that doesn't exist.
The problem is reported when you try to submit the form because webtest buffers
the values to set to fields and really sets it only before submitting a form
(that's a strange way, I agree).
Marc.
Früchtenicht, Gabriele wrote:
> hi,
>
> is there any chance to locate a submit-button in a table?
> I always get the error message:
>
> BUILD FAILED
> Test step clickbutton named "Login Button clicken" failed with message "No
> such parameter
> in form: UserID"
>
> <form name="myform" method="POST" action="j_security_check">
> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
> <TBODY>
> <TABLE class=formTabelle cellSpacing=0 cellPadding=0 border=0>
> <TBODY>
> <TR class=hintergrundHell>
> <TD colSpan=5>
> <TABLE class=rahmenOben width="100%">
> <TBODY>
> <TR>
> <TD><IMG class=labelFeldAbstand height=1
> src="/spaka/transparent.gif"></TD>
> <TD align=middle width="100%"><INPUT name="Login"
> class=MPButton type=submit value=Login ></TD>
> <TD><IMG class=labelFeldAbstand height=1
>
> src="/spaka/transparent.gif"></TD></TR></TBODY></TABLE></TD></TR></TBODY></T
> ABLE></TD>
> <TD width="5%"><IMG src="/spaka/transparent.gif"
> width=100></TD></TR></TBODY></TABLE>
> </form>
>
> thanks,
> gabi
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>