Hey Marc, It has been a while, but I've had some spare time and have attempted to upgrade to Webtest 2.1 again using the latest build files, which include the htmlunit-1.10.
I am still getting the same error: <failure message="com.canoo.webtest.engine.StepFailedException: Step[clickbutton "Click on login button" (7/22)]: Script error loading page executing webtest at: clickbutton TypeError: addEventListener is not a function, it is null. Below, you told me this was due to htmlUnit and that it was fixed, but apparently, it isn't. This is a huge bummer for me because I'm running 1.6, which apparently has a garbage collection problem with websteps and seems to be causing and OutOfMemoryError for me. I'm really trying to repair Webtest because I don't want to give up my legacy regression tests, but at this point, if this can't get fixed, I'm going to have to quit and start from scratch. If Marc or anyone else can give me advice on this, I would greatly appreciate it. John Gluck -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot Sent: Sunday, October 15, 2006 2:12 AM To: [email protected] Subject: [Webtest] Re: addEventListener is not a function Hi John, the message means that addEventListener didn't exist on the object. This is (or was) a missing functionality of htmlunit: this has been implemented for 1 or 2 weeks. You can build htmlunit from its source and use it with webtest if you can't wait for next release. Marc. John Gluck wrote: > I know this subject has been addressed already, but I need some help > tracking down my problem > > > > My issue is that I run into the following error: > > > > BUILD FAILED > > _C:\webtest\UserCases\Tests\AllTestCases.xml:55: The following error > occurred while executing this line:_ > > _C:\webtest\UserCases\PreTasks\changeSystemSettings.xml:27: Canoo > Webtest: R_1417._ > > Test failed. > > Test step steps > (C:\webtest\UserCases\PreTasks\changeSystemSettings.xml:29: ) null > failed with message "Step[clickbutton "Click on login button" (7/25)]: > Script error loading page executing webtest at: clickbutton TypeError: > addEventListener is not a function, it is null. > (http://localhost/..pathDeleted../SpryData.js#190) > > Source code: > > > > > > What follows is the SpryData.js prerelease 1.3 code from Adobe. I > understand (from reading many of Marc's posts) that htmlUnit is saying > that it thinks addEventListener is null. But who is wrong: htmlUnit or > SpryData.js > > > > I don't feel comfortable posting the SpryData code, so anyone interested > in helping me would have to down load it. > > > > https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5Fspry > > > > I would like to file a bug against the appropriate party though because > I'd like to see this get fixed so I can upgrade to the newest version of > Canoo. > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

