[Webtest] [Fwd: [Fwd: [ htmlunit-Bugs-1648014 ] window.event.srcElement not working for onsubmit]]

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Wed, 31 Jan 2007 09:11:02 +0100


Hi Michael,

you have to get htmlunit from it's SVN by yourself. You can then build 
your own snapshot jar. "maven jar" should be enough for this purpose
See
http://htmlunit.sourceforge.net/buildingFromSVN.html
http://htmlunit.sourceforge.net/packagingARelease.html

Nevertheless the simplest way if you need to execute the tests only on 
your computer is:
- check htmlunit from SVN from your favorite IDE
- use the appropriate goal to generate the config files needed by your 
IDE (like maven eclipse:generate-classpath for Eclipse)
- call one time maven compile, this will download the required jars
- then your IDE will compile automatically htmlunit sources in 
target/classes each time you update from SVN and you just need to add 
this location in the classpath of your WebTest execution

Marc.


Michael Habbert wrote:
> Hi Marc,
> 
> Thanks for the fast reaction - fixing the htmlunit-bug (non-feature;-).
> Ho do I best profit of the recent fix?
> Is there a snapshot-jar availiable, or shall I compile htmlunit by my self?
> 
> What would you suggest is the best way to check it out by myself?
> 
> thanks,