[Webtest] addEventListener is not a function
John Gluck
John Gluck" <John.Gluck@planitax.com
Fri, 13 Oct 2006 17:14:05 -0700
This is a multi-part message in MIME format.
------_=_NextPart_001_01C6EF25.A8CE9202
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I know this subject has been addressed already, but I need some help
tracking down my problem
=20
My issue is that I run into the following error:
=20
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:
=20
=20
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
=20
I don't feel comfortable posting the SpryData code, so anyone interested
in helping me would have to down load it. =20
=20
https://www.adobe.com/cfusion/entitlement/index.cfm?e=3Dlabs%5Fspry
=20
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
=20
=20
=20
=20
------_=_NextPart_001_01C6EF25.A8CE9202
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I know this subject has been addressed already, but I =
need
some help tracking down my problem<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My issue is that I run into the following =
error:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dred
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:red'>BUILD FAILED</span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><u><font size=3D2 =
color=3Dnavy
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:navy'>C:\webtest\UserCases\Tests\AllTestCases.xml:55: The =
following error
occurred while executing this line:</span></font></u><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><u><font size=3D2 =
color=3Dnavy
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:navy'>C:\webtest\UserCases\PreTasks\changeSystemSettings.xml:27: =
Canoo
Webtest: R_1417.</span></font></u><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dred
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:red'>Test failed.</span></font><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dred
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:red'>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)</span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dred face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:red'>Source =
code:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dred face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:red'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>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<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I don’t feel comfortable posting the SpryData =
code, so
anyone interested in helping me would have to down load it. =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a
href=3D"https://www.adobe.com/cfusion/entitlement/index.cfm?e=3Dlabs%5Fsp=
ry">https://www.adobe.com/cfusion/entitlement/index.cfm?e=3Dlabs%5Fspry</=
a><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>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.<o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><st1:PersonN=
ame
w:st=3D"on"><em><i><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>John =
Gluck</span></font></i></em></st1:PersonName><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span><o:p></o:p></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C6EF25.A8CE9202--