From: Patrick Spence Date: 2006-09-28T01:23:25+09:00 Subject: Re: Good ruby/watir image libary/package Steve Tangsombatvisit wrote: > From: spammer.sbt@gmail.com > Bcc: > Message-ID: > X-OriginalArrivalTime: 26 Sep 2006 21:51:04.0217 (UTC) > FILETIME=[DD253090:01C6E1B5] > Date: 26 Sep 2006 14:51:04 -0700 > > Hi everyone, > > I was just wondering if anyone can recommend a good image capture > library/package that can be used with Ruby/Watir? We need to do pretty > basic > image capture like capture a specific window, or a specific frame within > a > window and then save the image as a bmp or jpg file. > > Thanks in advance, > > Steve Tang We're using TechSmith's SnagIt to capture screenshots during the automated test runs. SnagIt can function as an OLE automation server, saves the images to a file, clipboard. You can capture an entire screen, a region of the screen, a scrolling web page, you name it. I've written a ScreenCapture class that encapsulates all the COM stuff. A fully functional 30-day trial version can be downloaded from here... http://www.techsmith.com/download/snagittrial.asp The COM server examples and documentation can be found here... http://www.techsmith.com/download/devtools.asp -- Posted via http://www.ruby-forum.com/.