[Webtest] webtest and java script capability

Marc Guillemot webtest@lists.canoo.com
Wed, 19 Apr 2006 07:44:40 -0700 (PDT)


Hi Christian,

the error message 

Cannot read property "KPIBrowserDatselevent" from undefined
(https://xxxx:xxxx/xxxBrowser/kpibrs/mainpage/kpibrs.js#24) 

means that the execution of your javascript code hase been started and fails
on line 24 of the script because the object on which the property
"KPIBrowserDatselevent" should be read is null (would be a
NullPointerException in java ;-))
This can have 2 causes: your js code is faulty or you face a (current)
limitation of htmlunit. If your code works in a normal browser, I suppose
that the later is the correct reason. In this case it would be interesting
to understand why htmlunit fails to evaluate your js to have a chance to fix
it.

Marc.
--
View this message in context: http://www.nabble.com/webtest-and-java-script-capability-t1474388.html#a3988941
Sent from the WebTest forum at Nabble.com.