Subj : Re: Rhino - undefined Java Script - Internet Explorer To : netscape.public.mozilla.jseng From : weaver.je@comcast.net (Jim Weaver) Date : Fri Feb 28 2003 09:27 pm levanceri@hotmail.com (Dr. Van Naustran) wrote in message > > The first line is causing the error (commenting out the second line > still causes the error). Is this a problem with Rhino or jWebUnit? Hi, HttpUnit, which is acting as the browser behind the scenes of jWebUnit, does not yet support access to the getElementById method on the HTMLDocument class. While that may be supported soon, your method subsequently updates a table cell attribute, which also isn't activity supported by HttpUnit, and is less likely to be supported anytime soon. Essentially, using any HttpUnit based tool with applications relying extensively on javascript manipulation of elements is problematic. HttpUnitOptions class (even when HttpUnit is used behind jWebUnit) will allow you to supress javascript exceptions and test other aspects of the page, but if the javascript is being used to accomplish core functionality which must be tested, you may do better with a tool that drives a browser instance. The HttpUnit site's homepage has a link to a javascript support page, which spells out which properties / methods on DOM objects are currently supported. Jim .