From: Mike B. <mb...@Ga...> - 2004-03-30 21:08:03
|
Dave Smith wrote: > I saw this in the archives but no response so I guess I will ask it > again. I am testing an application that uses struts with javascript > field required checking when a form is submitted. When the user > presses save it checks that all of the required fields and filled in > and if not pops up an alert box with the fields that are required. I > get the following back trace when running my test. > > [junit] Testcase: testAddWithoutData took 13.554 sec > [junit] Caused an ERROR > [junit] The undefined value has no properties. > [junit] ======= EXCEPTION START ======== > [junit] EcmaError: lineNumber=[123] column=[0] lineSource=[null] > name=[ConversionError] sourceName=[/aci/images/static.js] message=[The > undefined value has no properties.] errorObject=[ConversionError: The > undefined value has no properties.] This is a fairly generic symptom that means "some javascript object that you're trying to use hasn't been implemented yet". The trick is to discover what javascript host object you're referencing so that we can implement it (or at least stub it out as a temporary fix). Can you share the javascript (and the HtmlUnit code you're using to hit it)? Even better, is this on a publicly available server that we could hit on remotely? -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |