Some of the constructs that we have for our application use AJAX and XMLHttpRequest. And since HTMLUnit does not support this, I am getting following exception --
Mar 3, 2006 2:06:53 AM com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest jsxFunction_open
[
junit] SEVERE: Unable to initialize XMLHttpRequest using malformed URL 'MY_URL_HERE'.
[junit] Exception in
thread "XMLHttpRequest.send() Thread" java.lang.NullPointerException
[junit] at com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest$1.run(XMLHttpRequest.java:297)
Once I remove thsi code, everything else works fine, any pointer how can I skip processing of these URLs in HTMLUnit tests so that tests crawl remaing pages and do the necessary verifications.
TIA,
- Manish