Re: Problem getting httpunit to work
"Wolfgang Fahl" <[email protected]> Thu, 24 Sep 2009 20:23:19 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Organization | BITPlan GmbH |
| Message-ID | <[email protected]> |
Dear JP, you wrote: > I downloaded httpunit and added all of the jars to my classpath. When I > run a simple example: > > WebConversation wc = new WebConversation(); > WebResponse resp = wc.getResponse( > "https://www.wireless.att.com/olam/loginAction.olamexecute" ); > > I get an error that org.mozilla.javascript.EcmaError: TypeError: Cannot > find function addEventListener. (httpunit#13) > > and a whole stack trace. > > Any ideas? The webpage you are directing to use JavaScript. The function "addEventListener" is not supported in httpunit 1.7 as you have downloaded it. You might want to check out the latest Subversion trunk - EventListener support has just been added a few days ago. Please note that the latest revision is not considered stable at this point - you might want to review the latest mailings in this mailing list regarding this issue. We hope to get this fixed ASAP. Yours Wolfgang BITPlan - smart solutions Pater-Delp-Str. 1, D-47877 Willich Schiefbahn Tel. +49 2154 811-480, Fax +49 2154 811-481 Web: http://www.bitplan.de bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548, Geschäftsführer: Wolfgang Fahl ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop