RE: Form not being submitted
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <ABF4E02DA33A6F4BAC41122C7086C8990C2C5F@bromail01.internal.gxs.com> |
Well, it definitely had something to do with the email address field, but I am not sure what. I ran the test using popNextAlert() and it returned an empty string. Then I modified the test to enter my email address in the field and the test worked. Funny thing is though, when I do this manually without entering an e-mail address, I don't see any javascript alerts. Weird. This isn't exactly what I had in mind, but I works and there really aren't any side effects to entering an e-mail address other than I receive an email ever time I run this test. Good enough for me. Thanks for your help, I was hoping it would be a simple solution and it turns out it is! Rob. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Graeme J Sweeney Sent: Tuesday, March 28, 2006 12:01 PM To: [email protected] Subject: RE: [Httpunit-develop] Form not being submitted On Tue, 28 Mar 2006, [email protected] wrote: > field in which one may enter an e-mail address. I don't enter an e-mail > address in the test, and I also don't enter one when I do it manually. > When I use the website Manually, I have no problems. I might see if I If you don't enter an email address it should fire an alert. > Will popNextAlert() return true or false based on the status of the > alert queue? http://httpunit.sourceforge.net/doc/api/com/meterware/httpunit/WebClient .html#popNextAlert() -- Graeme - Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642