Hi,
Try using this....see if it can be of any help
require 'watir'
ie=Watir::IE.new
ie.goto("http://twitter.com")
id=1
q=ie.images.length
while id<=q
fname='D:\image-' + id.to_s + '.gif'
ie.image(:index,id).save(fname)
id=id+1
end
Thanks,
Rohan Ojha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---