Thanks so much for your response Marc,
The code is Adobe's Spry framework, which I am not comfortable with
passing around (and is too big for this forum). You can download it
from here though I am using version 1.3. 1.4 is on the adobe site.
http://labs.adobe.com/technologies/spry/
However, I believe the line of code causing Spry to fail is:
window.addEventListener('load', handler, false);
The page in question is attached.
John Gluck
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Tuesday, January 23, 2007 1:31 AM
To: [email protected]
Subject: [Webtest] RE: Re: addEventListener is not a function: Again
Hi,
on which kind of object is the method called? Can you produce a minimal
html
page allowing to reproduce the failure?
Marc.
John Gluck wrote:
>
> 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.
>
>
>
> 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.
>>
>> //John Gluck//
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
--
View this message in context:
http://www.nabble.com/addEventListener-is-not-a-function-tf2440695.html#
a8518199
Sent from the WebTest mailing list archive at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
Title: Corporate Tax Horizons - Login