18 messages in com.canoo.lists.webtest[Webtest] Re: addEventListener is not...| 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: | [Webtest] Re: addEventListener is not a function![]() |
|---|---|
| From: | Marc Guillemot (mgui...@yahoo.fr) |
| Date: | 10/15/2006 02:11:18 AM |
| List: | com.canoo.lists.webtest |
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//





.htm