Improve company productivity with a Business Account.Sign Up

x
?
Solved

Browser screen capture

Posted on 2011-03-03
3
Medium Priority
?
450 Views
Last Modified: 2013-12-17
I need to capture the web page produced by a given browser.  I'll then apply baseline against current imagery to validate content and layout.  I need to screen capture web pages in C# using IE6, IE7, IE8, and Firefox.  I was thinking that ActiveX is the best way to accomplish this.  What do you think?  
0
Comment
Question by:Phil5780
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Amick earned 2000 total points
ID: 35032524
Are you attempting to capture an image of the rendering to do a pixel by pixel comparison or the underlying code and files returned for the various browsers to check for changes?  Tools already exist to do both, but it is important to know what you're trying to do.
0
 

Author Comment

by:Phil5780
ID: 35032530
Yes, I'm trying to do a pixel for pixel comparison using each underlying browser.  I'm looking to integrate this feature into Selenium.
0
 
LVL 12

Expert Comment

by:Amick
ID: 35032598
Then it seems C# is not a bad choice.

There is a java app called scrender available on SourceForge that takes screenshots using "the system default browser", and I suppose you could either manipulate the registry to cycle through browsers or modify the Java source to use the browsers you prefer.

There are several other capture programs available on SourceForge including CutyCapt for webkit and IECapt for IE. The source code for these is also available so you may find ideas from studying the three programs mentioned.

http://scrender.sourceforge.net/index.html
http://cutycapt.sourceforge.net/
http://iecapt.sourceforge.net/
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The PowerShell Core 6.0 of .NET release is just the beginning. The upcoming PowerShell Core 6.1 would have artificial intelligence and internet of things capabilities. So many things to look forward to in the upcoming release.
This is the conclusion of the review and tests for using two or more Password Managers so you don't need to rely on just one. This article describes the results of a lot of testing in different scenario's to reveal which ones best co-exist together.…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

585 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question