HELP !!! Very simple code, but failure !!!
Ferry Lauda <[email protected]> Mon, 16 Jun 2008 16:38:05 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, i'm a VERY beginner with Httpunit. I was trying to getResponse from
a site (i.e. www.paypal.com). But it turned out to be a failure :(. I
think it might have something to do with the javascript (below is the code).
try {
WebConversation wc = new WebConversation();
WebResponse resp = wc.getResponse("http://www.paypal.de");
} catch (IOException ioe) {
} catch (SAXException se) {}
the error messsage is 'org.mozilla.javascript.EcmaError: TypeError:
Cannot read property "currentStyle" from undefined (httpunit#16)'.
i use httpunit v.1.7.
thanks in advance,
ferry
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php