Marc,

I upgraded to R_1477 and I am still experiencing the same error.  Please
let me know if you need any more information from me.

 
John Gluck

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Gluck
Sent: Wednesday, January 24, 2007 10:03 AM
To: [email protected]; Marc Guillemot
Subject: RE: [Webtest] RE: Re: addEventListener is not a function: Again

Marc,

I'm using R_1464.  I'll try to upgrade as well.

 
John Gluck

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Tuesday, January 23, 2007 11:34 PM
To: [email protected]
Subject: Re: [Webtest] RE: Re: addEventListener is not a function: Again


Hi,

Michael: 
can you try with the latest webtest build?

John:
which version of WebTest do you use?

Marc.


Michael Habbert wrote:
> 
> Hi Marc,
> 
> if I switch to webtest 2.1 i get the same error:
> 
> Michael Habbert
> 
> --------------------
> [java]      [java] [clickButton]  INFO (com.canoo.webtest.steps.Step)
- 
> Message was: Step[clickButton "Click the submit button" (8/71)]:
Script 
> error loading page executing webtest at: clickButton TypeError: Cannot

> find function attachEvent. 
> (http://bendera:8888/adds/convertCurlyQuotes.js#49)
>    [java]   [java] [clickButton] Source code:
>    [java]   [java] [clickButton]   function init() {
>    [java]   [java] [clickButton]     var obj = 
> document.getElementsByTagName("form");
>    [java]   [java] [clickButton]     if (window.addEventListener) {
>    [java]   [java] [clickButton] 
> window.addEventListener("submit", windowEvent, true);
>    [java]   [java] [clickButton]       } else {
>    [java]   [java] [clickButton]         if (window.attachEvent) {
>    [java]   [java] [clickButton]             for (var i = obj.length -

> 1; i >= 0; i--) {
>    [java]   [java] [clickButton]               var elmForm = obj[i];
>    [java]   [java] [clickButton] 
> elmForm.attachEvent("onsubmit", windowEvent);
>    [java]   [java] [clickButton]               }
>    [java]   [java] [clickButton]           }
>    [java]   [java] [clickButton]       }
>    [java]   [java] [clickButton]   }
>    [java]   [java]  INFO (com.canoo.webtest.ant.WebtestTask) -
Finished 
> executing webtest "chewi create auftragnehmer" 
>
(/usr/local/projekte/enbw/chewi/test/webtest/imports/createContractor.xm
l:13: 
> )
>    [java]   [java]  INFO (com.canoo.webtest.ant.WebtestTask) - Test 
> report successfully created.
> 
> 
> John Gluck wrote:
>> 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.
> [...]
> _______________________________________________
> 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#
a8556080
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to