3 messages in com.canoo.lists.webtest[Webtest] Re: JavaScript error loadin...
FromSent OnAttachments
Kallin Nagelberg27 May 2008 13:39 
Kallin Nagelberg27 May 2008 14:04 
Conor MacMahon27 May 2008 16:20 
Subject:[Webtest] Re: JavaScript error loading page
From:Kallin Nagelberg (kall@gmail.com)
Date:05/27/2008 02:04:16 PM
List:com.canoo.lists.webtest

I forgot to mention this happens right at the 'invoke' step. I'm not sure if I can even apply a filter at this step...

I've just started a project to integrate Canoo Webtest into our company's continous integration system, and it looks to be an excellent product!

Unfortunately, my first test was to hit a site's homepage, and webtest returned the following error:

JavaScript error loading page http://www.northernreflections.com/vr4-web-site/index.jsp.vr: Wrapped java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement ( http://www.northernreflections.com/vr4-web-site/omniture_s_code_2305.js#390(eval)#1<http://www.northernreflections.com/vr4-web-site/omniture_s_code_2305.js#390%28eval%29%231> )

This JS file is not really in our control, as a third party provides it. Is there something wrong with it? Also, is there a way to disclude only specific JS files (perhaps a filter is appropriate)?

Please be kind I'm brand new to this tool, but look forward to digging in deep asap!

Regards, Kallin Nagelberg