Hi Marc, Unfortunately the system is still in development and not yet publicly available. I am using R1704 that includes Htmlunit 2.1.
Can give you all the resulting response codes from the dojo modules and any .js but not sure if this will be enough for you to understand what might be happening. It might be better if you can give me some tips on modifying the source or any config Options that would allow me to determine cause here. >From a few thousand feet it appears that 'duplicate' function is being invoked on a class for which this method is not defined. Either that or a .js file has not been loaded maybe??? I am not sure that we are doing anything untoward in the use of the dojo framework but my previous request 'dialog not loading' indicates we are having a few problems in this area. I have a javascript developer now looking at webtest and he has indicated that a lot of the web testing type products usually have problems with nested iframes. I am not sure if that is the case here but I stand to be corrected. I understand your time is valuable but any small push in the right direction would be fantastic. (What I am thinking is some sort of detailed stack trace!) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot Sent: Wednesday, 14 May 2008 1:45 AM To: [email protected] Subject: Re: [Webtest] JavaException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function duplicate in object [object] Hi Nick, have you tried latest WebTest build with a snapshot build of HtmlUnit? Improvements in Dojo support have been made since 2.1. Do you have some publicly available website where I can reproduce the error? Cheers, Marc. -- Blog: http://mguillem.wordpress.com KNIGHT, Nick wrote: > Hi, > can someone please let me know if experiencing same Dojo problem! > I feel we are so close with this product but seems to have a few issues > with Dojo. > > Following error is reported: > JavaScript error loading page > _http://perwas5f.doir.wa.gov.au:9080/emits/maint/tenement/complete/compl eteDescription.jsf_: > > > JavaException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: > Cannot find function duplicate in object [object]. > > (_http://perwas5f.doir.wa.gov.au:9080/emits/resources/dojo09/dojo/dojo.j s#20(eval)#108_) > > (_http://perwas5f.doir.wa.gov.au:9080/emits/resources/dojo09/dojo/dojo.j s#20_) > > > > It is hard to track down what is actually causing this problem (not sure > what (eval)#108) is > that line number? response file#? > > This is a simple test of pressing a Next button on a dialog. > After the post from the next button, about 60 .js files are loaded > all with 200 response so all OK. > > I have another error I am waiting for approval on. (also concerning a > dialog) > > I am not sure at this point whether to try and resolve these issues (if > possible) or look > at another tool...getting urgent to resolve. > > > Any help appreciated. > > *Nick Knight* | Specialist IT Consultant > Department of Industry & Resources | Information Services Branch > 100 Plain Street, East Perth, WA 6004 | T +61 8 9222 3421 | F +61 8 > 9222 3342 | M +61 417 991 756 > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>__ | _www.doir.wa.gov.au_ > <http://www.doir.wa.gov.au> > > > "DISCLAIMER: This email, including any attachments, is intended only for > use by the addressee(s) and may contain confidential and/or personal > information and may also be the subject of legal privilege. If you are > not the intended recipient, you must not disclose or use the information > contained in it. In this case, please let me know by return email, > delete the message permanently from your system and destroy any copies. > > Before you take any action based upon advice and/or information > contained in this email you should carefully consider the advice and > information and consider obtaining relevant independent advice. > "DISCLAIMER: This email, including any attachments, is intended only for use by the addressee(s) and may contain confidential and/or personal information and may also be the subject of legal privilege. If you are not the intended recipient, you must not disclose or use the information contained in it. In this case, please let me know by return email, delete the message permanently from your system and destroy any copies. Before you take any action based upon advice and/or information contained in this email you should carefully consider the advice and information and consider obtaining relevant independent advice. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

