I would like to be able to "test" images on pages with jwebunit. As far as I can tell, there is no support for this (at least in the 1.x branch), nor is there anything existing in htmlunit (which is the plugin we use).
What I need to do is
* validate some images are on the page (we can already do that using xpath expressions)
* validate the urls actually point to valid images
* I'd like and go as far as comparing the images to existing ones (I'm also fantasizing about image recognition techniques here ;))
At first, I naively tried to build a java.net.URL and get the contents from there. That just works, as long as there is no authentication system on your app.
Is there any interest in this? If so, I might be able to put together a small patch against the 1.x branch.
By the way, is there any doc/wiki about the trunk? I understand it is a rewrite of jwebunit; if so, I'd like to have an idea of what's in store for the future :)
Cheers,
greg
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Jwebunit-users mailing list Jwebunit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users