4 messages in com.canoo.lists.webtestAW: [Webtest] button in a table| From | Sent On | Attachments |
|---|---|---|
| "Früchtenicht, Gabriele" | 23 Sep 2003 05:16 | |
| Marc Guillemot | 23 Sep 2003 05:20 | |
| "Früchtenicht, Gabriele" | 24 Sep 2003 08:57 | |
| Dierk Koenig | 24 Sep 2003 09:47 |
| Subject: | AW: [Webtest] button in a table![]() |
|---|---|
| From: | "Früchtenicht, Gabriele" (gabr...@pylon.de) |
| Date: | 09/24/2003 08:57:36 AM |
| List: | com.canoo.lists.webtest |
Hi Marc,
thanks a lot, you're right. Now I have to find out, why webtest finds the inputfield (yes, text) when I use
<verifyxpath stepid="xpath input field must be present and empty" xpath="//input[@name='j_username']"
and not
<verifyinputfield stepid="input field must be present and empty" name="j_username"/>
Gabi
-----Ursprüngliche Nachricht----- Von: Marc Guillemot [mailto:mgui...@yahoo.fr] Gesendet: Dienstag, 23. September 2003 14:21 An: webt...@lists.canoo.com Betreff: Re: [Webtest] button in a table
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 WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




