In an earlier post I demonstrated how to capture scrolling web screenshots. It's very slick, though that method uses an external utility and doesn't capture the actual state of the web page during a test. The first question I got on it was "How do I capture the page during a test?"
It is possible to create a script to capture a scrolling screenshot of a web page during a test. I've extended the simple web test class to include this functionality in a new "scrollShot()" method. A snippet of the new code is below.
ScrollShot() works and it's very cool, but the code needs a little more testing before release. I'll post the new version of webTest with the scrollShot() as soon as I'm sure it won't melt down your copy of TestComplete 4.