Re: related javascript files not fetched

"Wolfgang Fahl" <[email protected]> Mon, 17 Aug 2009 14:25:21 +0200
Newsgroups gmane.comp.web.httpunit.devel
Organization BITPlan GmbH
Message-ID <[email protected]>
Dear Dan,

thank you for your e-mail:
you wrote:
> 
> The current version of HttpUnit in Subversion does not seem to be
> fetching the related javascript files. I don´t see the hits in the
> access log of my server or in my WebClientListener.The
> 1.7 version definitely fetched these, as did the older version I have.
> This seems like it must be a bug. It can´t do any javascript processing
> if it doesn´t download the javascript files.
The JUnit Test ScriptingTest.java
does have several test cases that include
 <script language='JavaScript' src='saycheese.js'>
statements. So one question would be what kind of html 
statement you'd expect do the pickup.

You might want to add a test to
https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit/test/com/meterware/httpunit/javascript/ScriptingTest.java

to show what the issue is that you might want to get 
fixed. It might have to do with the bug fix for 1055450
that explicitly called for being able to bypass script 
file loading errors.
> (my next question is going to be how to detect javascript errors
> and missing javascript files, but it seems this has to be resolved 
> first)
Hope the above helps to figure out what your needs are.


Yours
  Wolfgang

BITPlan - smart solutions
Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
Tel. +49 2154 811-480, Fax +49 2154 811-481
Web: http://www.bitplan.de
bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548, 
Geschäftsführer: Wolfgang Fahl

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop