Re: Httpunit-develop Digest, Vol 1, Issue 1587
"Denicker Chou" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <7A1E1791F165C14FAC6B75CAB339FF3E78D816@mercury.atreus-systems.com> |
You'd better try Selenium. Here is the link: http://www.openqa.org/selenium/ Denicker -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Weiquan Yuan Sent: Friday, June 09, 2006 3:24 PM To: [email protected] Subject: Re: [Httpunit-develop] Httpunit-develop Digest, Vol 1, Issue 1587 Hi, guys; One question with HttpUnit, if I use technology Ajax, can I use httpUnit to test? If not, do you have any other technology to use for this one? Thanks -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, June 09, 2006 3:04 PM To: [email protected] Subject: Httpunit-develop Digest, Vol 1, Issue 1587 Send Httpunit-develop mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/httpunit-develop or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Httpunit-develop digest..." Today's Topics: 1. problem exec javascript (Ivan Georgiev) ---------------------------------------------------------------------- Message: 1 Date: Fri, 9 Jun 2006 18:03:10 +0300 From: "Ivan Georgiev" <[email protected]> Subject: [Httpunit-develop] problem exec javascript To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi I have login page that submit with username and password ( no matter how, with form.getRequest() or button.click() ), a result page have a javascript like this: ... <body> <input id="myField" type="text" value=""> <script> document.getElementById('myField').value="testValue"; </script> </body> after this a have a error: TypeError: Cannot convert null to an object. (httpunit; )# at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java :597)# at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java :597)# at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java :557)# at org.mozilla.javascript.NativeGlobal.typeError0(NativeGlobal.java:562)# at org.mozilla.javascript.ScriptRuntime.setProp(ScriptRuntime.java:840)# at org.mozilla.javascript.gen.c32.call(httpunit:0)# at org.mozilla.javascript.gen.c32.exec(httpunit)# ...... I try many ways to submit my request but i'am afraid the problem is where execute javascript expression in response page. I'am using httpunit-1.6.2. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=httpunit-develop/attachments/20060609/f28f81a1/attachment.html ------------------------------ ------------------------------ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop End of Httpunit-develop Digest, Vol 1, Issue 1587 ************************************************* -- WARNING ------- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -------------- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop