18 messages in com.canoo.lists.webtestRE: [Webtest] RE: Re: addEventListene...| From | Sent On | Attachments |
|---|---|---|
| John Gluck | 13 Oct 2006 17:13 | |
| Marc Guillemot | 15 Oct 2006 02:11 | |
| John Gluck | 17 Jan 2007 15:50 | |
| John Gluck | 18 Jan 2007 09:25 | |
| Marc Guillemot | 23 Jan 2007 01:30 | |
| John Gluck | 23 Jan 2007 09:37 | .htm |
| Michael Habbert | 23 Jan 2007 23:25 | |
| Marc Guillemot | 23 Jan 2007 23:33 | |
| Michael Habbert | 23 Jan 2007 23:55 | |
| Marc Guillemot | 24 Jan 2007 00:15 | |
| Michael Habbert | 24 Jan 2007 00:47 | |
| John Gluck | 24 Jan 2007 10:02 | |
| John Gluck | 24 Jan 2007 10:18 | |
| Michael Habbert | 25 Jan 2007 23:43 | |
| Michael Habbert | 26 Jan 2007 00:44 | |
| Marc Guillemot | 26 Jan 2007 00:51 | |
| Michael Habbert | 30 Jan 2007 01:42 | |
| Marc Guillemot | 30 Jan 2007 05:32 |
| Subject: | RE: [Webtest] RE: Re: addEventListener is not a function: Again![]() |
|---|---|
| From: | John Gluck (John...@planitax.com) |
| Date: | 01/24/2007 10:02:23 AM |
| List: | com.canoo.lists.webtest |
Marc,
I'm using R_1464. I'll try to upgrade as well.
John Gluck
-----Original Message----- From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com] On Behalf Of Marc Guillemot Sent: Tuesday, January 23, 2007 11:34 PM To: webt...@lists.canoo.com 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 WebT...@lists.canoo.com 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 WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest





.htm