Hari, its not straightforward and requires code changes. HtmlUnit deprecated a number of items and changes others significantly. I tried.
But Marc is working on a release that uses HtmlUnit 2.1 as we speak. He sent a not to that effect this morning on another issue: ------ Forwarded Message From: Marc Guillemot <[EMAIL PROTECTED]> Reply-To: <[email protected]> Date: Tue, 22 Apr 2008 15:58:45 +0200 To: <[email protected]> Subject: Re: [Webtest] Ajax problem [onChange/onBlur] Hi, if I correctly remember HtmlUnit 2.1 will bring some fixes in onchange/onblur/onfocus handling. Can you wait until HtmlUnit-2.1 is included in WebTest to retest? Cheers, Marc. -- From: Harihara Vinayakaram <[EMAIL PROTECTED]> Reply-To: <[email protected]> Date: Tue, 22 Apr 2008 21:08:50 +0530 To: <[email protected]> Subject: [Webtest] Building WebTest with Html Unit 2.0 I have been using WebTest for some time now but have never built it from source . I saw the announcement regarding the release of HtmlUnit 2.0 1 . I have downloaded the source from svn and have set up my project. Are there are any instructions which tell how to replace the htm unit 1.14 by htmlunit 2.0 Regards Hari

