wood burning stoves 2.0*
The moose likes Testing and the fly likes downloading image in html unit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "downloading image in html unit" Watch "downloading image in html unit" New topic
Author

downloading image in html unit

akhter wahab
Ranch Hand

Joined: Mar 02, 2009
Posts: 151

hey everyone ,
right now i am using html unit to test a website i want to save one image on my computer from the website how can i do this please tell me i get the image in HTMLIMAGE using Xpath but what i have to do for downloading it don't know


Start Earning Online||Start Earning Using Java
Alfred Peterson
Greenhorn

Joined: Aug 17, 2010
Posts: 12
Hi..

even i had been facing some troubles in doing that and lot of confusion in the coding..recently check out some helpful tutorial..

http://osdir.com/ml/java.htmlunit.devel/2007-01/msg00021.html

you can also try this..may you get benefited.

thanks
Alfred.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: downloading image in html unit
 
Similar Threads
parsing HTML and extracting html tables in JAVA
Downloading png images to mobile
sending image to the phone from the server
How to display image on browser from byte array
Webpage Scrapping in Java