|
I have received an error message than I cannot
interpret. I am hoping that someone on the list
can explain this to me.
Here is an excerpt from my log:
. . .
[clickButton] INFO
(com.canoo.webtest.steps.Step) - Exception thrown from this class:
com.canoo.webtest.engine.StepFailedException
[clickButton] INFO (com.canoo.webtest.steps.Step) - Message was: Step[clickButton "Click the login button" (4/5)]: Script error loading page executing webtest at: clickButton TypeError: addEventListener is not a function, it is null. (http://dev.cayuse.com:8081/V8/jslib/boxover.js#11) [clickButton] Source code: [clickButton] function () { [clickButton] [native code, arity=0] In the file boxover.js, referenced in the error
message, there are the following lines:
6 if (typeof
document.attachEvent!='undefined') {
7 window.attachEvent('onload',init); 8 document.attachEvent('onmousemove',moveMouse); 9 document.attachEvent('onclick',checkMove); } 10 else { 11 window.addEventListener('load',init,false); 12 document.addEventListener('mousemove',moveMouse,false); 13 document.addEventListener('click',checkMove,false); 14 } -Sam
|
- Re: [Webtest] unable to find tools.jar? Samuel B. Quiring
- [Webtest] addEventListener is not a function? Samuel B. Quiring
- Re: [Webtest] addEventListener is not a functio... Marc Guillemot

