Adam-

We are using a tool called imagemagick (www.imagemagick.com) to do our
image comparison, very similar to the approach used in the presentation
below (and it's free).  We use imagemagick to compare a PDF report to a
previously run version.  This is extremely helpful for comparing reports
in a language you can't read.  I wrote our version in Perl but there is
a Ruby interface to the image libraries.

We solved the image comparison problem using a 3rd party program to
convert PDF's to images.  Another program that may help you is Snagit
which has a scrolling screen capture.  That may be difficult to automate
with Watir tho.

Alan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Pinon
Sent: Saturday, May 12, 2007 2:07 PM
To: [email protected]
Subject: RE: [Wtr-general] Does anyone know how to capture an entire
screenand compare with image?

Ok here is the information that I was talking about. I don't actually
have working samples but in the pdf he talks about the comparisons that
he did and what he used to compare them. I don't know how you would
automate it but here is the information.
http://model.based.testing.googlepages.com/exploratory-automation.pdf

Hope this helps!

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Sergio Pinon
Sent: Sat 5/12/2007 11:21 AM
To: [email protected]
Subject: Re: [Wtr-general] Does anyone know how to capture an entire
screenand compare with image?
 
Back in February I attended the dt/td summit. There someone presented on
how they captured screens and diffed them using a software called
Eggplant. I can see if I can find the information. 

Chris McMahon might also have it.

-----Original Message-----
From: "qadude123" <[EMAIL PROTECTED]>
To: "[email protected]" <[email protected]>
Sent: 5/12/2007 12:07 AM
Subject: [Wtr-general] Does anyone know how to capture an entire screen
and compare with image?

Hi,

I'm a newbie with Watir and Ruby.   I would like to capture the entire
page and compare it to another image.
I've seen that there is a ruby file called screen_capture.rb.   How do I
get this file?  Does anyone have any working code to capture the entire
screen ....including the part that's scrolled off the screen?

Thanks for any suggestions
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to