Hi, in this case this means that the page code performs some checks for ActiveX for instance that HtmlUnit doesn't currently support and from this information decide that js support is not enabled. Determining where it comes from would require further investigations.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Dick Bogo wrote: > This doesn't occur in normal browser, the script executes normally and > activex controls are handled accordingly. > > I have the latest WebTest build > > On Mon, May 5, 2008 at 4:07 AM, Marc Guillemot <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > > HtmlUnit is able to simulate the common usage of a few different ActiveX > (mostly for xml and xsl processing). > > The error you mention is specific to your application therefore I can't > say anything to it. > > Concerning your js error: does it occur in a "normal" browser? Which > WebTest build do you use? > > Cheers, > Marc. > -- > Blog: http://mguillem.wordpress.com > > > Dick Bogo wrote: > > my Canoo script works fine until it clicks on a link that requires > > activex controls > > > > var val = getCookie("activex"); --->>>line 1027 > > > > You must enable Javascript to see an image. > > You must use Internet Explorer to view this page > > ActiveX Control > > > > > > JavaScript error loading page http://mine/tst.html: Wrapped > > com.gargoylesoftware.htmlunit.ScriptException: > > TypeError: Cannot read property "offsetParent" from null > > (http://mine/lib.js#1027) (javascript url#1) > > > > SO, HOW DOES CANOO HANDLE THIS SCENARIO/CASE??? > > > > > > any leads would be appreciated > > _______________________________________________ > WebTest mailing list > [email protected] <mailto:[email protected]> > http://lists.canoo.com/mailman/listinfo/webtest > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

