Dean Hume - Capturing Web Page Screenshots with Selenium 2(deanhume.com)
submitted by
deanomachino(764) 1 year, 4 months ago
There have been many times when I have run a Unit Test that has failed and afterwards I wondered where it went wrong. The ability to see what occurred on the page or how it looked at the time would be a great benefit. I've been writing a few automated tests lately and looking for a way to implement this functionality. Luckily, Selenium 2 provides easy functionality that allows you to capture a screenshot of the page at the time that a unit test is being run - and it's really easy too.
|category: Unit Testing
|Views: 35
tags:
Testing another
Everyones tags:
Your Tags: