[Webtest] javascript error - defaultView

Ding Koon Jiun webtest@lists.canoo.com
Wed, 26 Apr 2006 11:57:39 +0800

I wrote some test for my web page and encountered this error with javascript.

INFO (com.canoo.webtest.engine.Configuration) - Surfing with browser Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)
com.canoo.webtest.engine.StepFailedException: Step[invoke "description" (1/17)]: Script error loading page executing webtest at: invoke TypeError: Cannot read property "defaultView" from undefined (http://localhost:8080/something/sortable.js#82)


in sortable.js line 82

var win = this.document.defaultView || this.document.parentWindow;

the sortable.js were loaded when the url was called.
Does anyone encountered this problem? 
is there any solution?
please help