[Webtest] 1.7 upgrade issues: argument type mismatch and no log output

Marc Guillemot webtest@lists.canoo.com
Mon, 08 Aug 2005 10:51:50 +0200


Hi Bill,


Bill Milbratz wrote:
> Hi,
> 
> I installed 1.7 and have found a few issues.
> 
> 1) javascript error:
> 
>  [testSpec] ERROR (com.canoo.webtest.steps.request.TargetHelper) - ScriptExcepti
> on: enclosed exception was "argument type mismatch"
> 
> The script executed fine on 1.6; when run in Firefox, the page shows no javascript errors in the console. Any ideas on the possible cause? the error message is pretty vague. also, it's not clear *when* this actually happens.
> 

version 1.6 used httpunit and had a poor javascript support. Current 1.7 stream uses htmlunit and as a "quite good" 
javascript support. Therefore I guess that the script didn't execute at all with version 1.6 and now executes... until 
it reaches the limits of htmlunit's current javascript support.
Can you have a look at the log: you should see more about the exact code line that is causing the error.

> 2) no results file. Typically, my webtest builds an xml file 'AllResult.xml'. In this version,

what are you using for a <config>?

> any comments on these? thanks. Also an 'upgrade notes' page would be great.

you're right it would be better. The whole documentation requires to be improved.

Marc.