<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Taking Screenshots with Selenium</title>
	<atom:link href="http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/feed/" rel="self" type="application/rss+xml" />
	<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/</link>
	<description>Binil Thomas' blog</description>
	<lastBuildDate>Mon, 28 Dec 2009 18:05:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mike Z.</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-6252</link>
		<dc:creator>mike Z.</dc:creator>
		<pubDate>Sat, 22 Dec 2007 19:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-6252</guid>
		<description>hi, 
  awesome, just AWESOME.
  
  your source code is 
  just a &#039;.tar&#039; format  not a &#039;tar.gz&#039;.

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>hi,<br />
  awesome, just AWESOME.</p>
<p>  your source code is<br />
  just a &#8216;.tar&#8217; format  not a &#8216;tar.gz&#8217;.</p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murugesh</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-5663</link>
		<dc:creator>Murugesh</dc:creator>
		<pubDate>Fri, 16 Nov 2007 10:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-5663</guid>
		<description>Hi,
My Selenium tests will be running under xvfb server. 
For example, if i start my xvfb server on :1 , how could I record the screenshot.
The current example assumes the display to be localhost.Any idea how to make capture the screenshots from the remote display?

Thanks a lot,
Murugesh</description>
		<content:encoded><![CDATA[<p>Hi,<br />
My Selenium tests will be running under xvfb server.<br />
For example, if i start my xvfb server on :1 , how could I record the screenshot.<br />
The current example assumes the display to be localhost.Any idea how to make capture the screenshots from the remote display?</p>
<p>Thanks a lot,<br />
Murugesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Automating web browsers with Selenium &#171; C r a c k . a . s m i l e</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-4969</link>
		<dc:creator>Automating web browsers with Selenium &#171; C r a c k . a . s m i l e</dc:creator>
		<pubDate>Fri, 05 Oct 2007 16:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-4969</guid>
		<description>[...] You can use it in unit tests and thus help you in web development. Somebody even proposed to take screenshots with it, so you can create your own Browsershots application. In any case, a very nice [...]</description>
		<content:encoded><![CDATA[<p>[...] You can use it in unit tests and thus help you in web development. Somebody even proposed to take screenshots with it, so you can create your own Browsershots application. In any case, a very nice [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunitha</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-4586</link>
		<dc:creator>Sunitha</dc:creator>
		<pubDate>Thu, 30 Aug 2007 12:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-4586</guid>
		<description>Hi,
It will be great if I can get the code which has these ideas in action. Unfortunately I am seeing a 404 when trying to access the code. IS the file moved? Where can I get the code from?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
It will be great if I can get the code which has these ideas in action. Unfortunately I am seeing a 404 when trying to access the code. IS the file moved? Where can I get the code from?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tarjei Huse</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3838</link>
		<dc:creator>Tarjei Huse</dc:creator>
		<pubDate>Mon, 16 Jul 2007 11:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3838</guid>
		<description>Hi, I&#039;m doing a masters thesis on using image verification like this on dynamic websites - i.e. websites where content changes and you want to check other things than the content (for example, is the font used correct?).

One of the things I&#039;ve been considering is using Selenium to do this, so this post comes at a most opportune moment :-)

A few questions though: Is it possible to use this against a remote selenium server? If you want to use selenium for more than just one browser, this quickly becomes an issue. 

Browsershots.org has a service where you can get screenshots of the whole page - not just the top half. The package is open source and written in Python. Well worth a look. 

Well, I should stop writing and start downloading :-)

Regards, 
Tarjei</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m doing a masters thesis on using image verification like this on dynamic websites &#8211; i.e. websites where content changes and you want to check other things than the content (for example, is the font used correct?).</p>
<p>One of the things I&#8217;ve been considering is using Selenium to do this, so this post comes at a most opportune moment <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>A few questions though: Is it possible to use this against a remote selenium server? If you want to use selenium for more than just one browser, this quickly becomes an issue. </p>
<p>Browsershots.org has a service where you can get screenshots of the whole page &#8211; not just the top half. The package is open source and written in Python. Well worth a look. </p>
<p>Well, I should stop writing and start downloading <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Regards,<br />
Tarjei</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: binil</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3627</link>
		<dc:creator>binil</dc:creator>
		<pubDate>Fri, 29 Jun 2007 03:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3627</guid>
		<description>davidm,

Sorry that you could not get it working yet. My recommendation is to switch to FF 1.5 product line. I remember Selenium working &lt;i&gt;very&lt;/i&gt; well with FF 1.5, but the switch to FF 2.0 didn&#039;t go too well.

Thanks,
Binil</description>
		<content:encoded><![CDATA[<p>davidm,</p>
<p>Sorry that you could not get it working yet. My recommendation is to switch to FF 1.5 product line. I remember Selenium working <i>very</i> well with FF 1.5, but the switch to FF 2.0 didn&#8217;t go too well.</p>
<p>Thanks,<br />
Binil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davidm</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3622</link>
		<dc:creator>davidm</dc:creator>
		<pubDate>Thu, 28 Jun 2007 17:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3622</guid>
		<description>Thanks for these additional pointers. I&#039;ve used Ant much more than Maven, and Selenium looks like its own beast, glad it is possible to configure.

I gave up trying to get it to work on Mac, am trying on Linux, but it just sits there at &quot;Preparing Firefox profile..&quot; This is Firefox 2.0.4. Maybe its the later version problem. What a mess.</description>
		<content:encoded><![CDATA[<p>Thanks for these additional pointers. I&#8217;ve used Ant much more than Maven, and Selenium looks like its own beast, glad it is possible to configure.</p>
<p>I gave up trying to get it to work on Mac, am trying on Linux, but it just sits there at &#8220;Preparing Firefox profile..&#8221; This is Firefox 2.0.4. Maybe its the later version problem. What a mess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: binil</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3617</link>
		<dc:creator>binil</dc:creator>
		<pubDate>Thu, 28 Jun 2007 05:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3617</guid>
		<description>davidm,

1) The Tomcat URL is specified in functest/pom.xml. Search for  element in the XML. Tomcat developers frequently purge old release bundles from their web servers. So the URL to the release bundle I specify in the POM becomes unreachable in a few months.

2) Selenium &lt;a href=&quot;http://openqa.org/selenium-rc/&quot; rel=&quot;nofollow&quot;&gt;supports&lt;/a&gt; a wide range of browsers. You can choose an appropriate browser by editing the XML file in functest\src\it\testng.xml. In this file, you are essentially telling TestNG to pass a parameter named browser into the tests. The value of this parameter decides which browser to run the tests on. browser=firefox runs the test on FireFox. On Mac OS X, Selenium is known to be working well with Firefox 1.5.0.4 and 2.0. But I have noticed that it does not work well with FireFox versions later than 2.0. Since many people configure FireFox to update itself periodically, they might be running versions later than 2.0 - with which Selenium does not run well. You can explicitly download FireFox 2.0 and put it in /Applications and try running the tests.

Thanks,
Binil</description>
		<content:encoded><![CDATA[<p>davidm,</p>
<p>1) The Tomcat URL is specified in functest/pom.xml. Search for  element in the XML. Tomcat developers frequently purge old release bundles from their web servers. So the URL to the release bundle I specify in the POM becomes unreachable in a few months.</p>
<p>2) Selenium <a href="http://openqa.org/selenium-rc/" rel="nofollow">supports</a> a wide range of browsers. You can choose an appropriate browser by editing the XML file in functest\src\it\testng.xml. In this file, you are essentially telling TestNG to pass a parameter named browser into the tests. The value of this parameter decides which browser to run the tests on. browser=firefox runs the test on FireFox. On Mac OS X, Selenium is known to be working well with Firefox 1.5.0.4 and 2.0. But I have noticed that it does not work well with FireFox versions later than 2.0. Since many people configure FireFox to update itself periodically, they might be running versions later than 2.0 &#8211; with which Selenium does not run well. You can explicitly download FireFox 2.0 and put it in /Applications and try running the tests.</p>
<p>Thanks,<br />
Binil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: binil</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3616</link>
		<dc:creator>binil</dc:creator>
		<pubDate>Thu, 28 Jun 2007 04:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3616</guid>
		<description>davidm,

1) The Tomcat URL is specified in functest/pom.xml. Search for  element in the XML. Tomcat developers frequently purge old release bundles from their web servers. So the URL to the release bundle I specify in the POM becomes unreachable in a few months.

2) Selenium &lt;a href=&quot;http://openqa.org/selenium-rc/&quot; rel=&quot;nofollow&quot;&gt;supports&lt;/a&gt; a wide range of browsers. You can choose an appropriate browser by editing the XML file in functest\src\it\testng.xml. In this file, you are essentially telling TestNG to pass a parameter named browser into the tests. The value of this parameter decides which browser to run the tests on. browser=firefox runs the test on FireFox. On Mac OS X, Selenium is known to be working well with Firefox 1.5.0.4 and 2.0. But I have noticed that it does not work well with FireFox versions later than 2.0. Since many people configure FireFox to update itself periodically, they might be running versions later than 2.0 - with which Selenium does not run well. You can explicitly download FireFox 2.0 and put it in /Applications and try running this - that should work fine.

Thanks,
Binil</description>
		<content:encoded><![CDATA[<p>davidm,</p>
<p>1) The Tomcat URL is specified in functest/pom.xml. Search for  element in the XML. Tomcat developers frequently purge old release bundles from their web servers. So the URL to the release bundle I specify in the POM becomes unreachable in a few months.</p>
<p>2) Selenium <a href="http://openqa.org/selenium-rc/" rel="nofollow">supports</a> a wide range of browsers. You can choose an appropriate browser by editing the XML file in functest\src\it\testng.xml. In this file, you are essentially telling TestNG to pass a parameter named browser into the tests. The value of this parameter decides which browser to run the tests on. browser=firefox runs the test on FireFox. On Mac OS X, Selenium is known to be working well with Firefox 1.5.0.4 and 2.0. But I have noticed that it does not work well with FireFox versions later than 2.0. Since many people configure FireFox to update itself periodically, they might be running versions later than 2.0 &#8211; with which Selenium does not run well. You can explicitly download FireFox 2.0 and put it in /Applications and try running this &#8211; that should work fine.</p>
<p>Thanks,<br />
Binil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: binil</title>
		<link>http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3615</link>
		<dc:creator>binil</dc:creator>
		<pubDate>Thu, 28 Jun 2007 04:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://binil.wordpress.com/2006/12/22/taking-screenshots-with-selenium/#comment-3615</guid>
		<description>Kam,

I have not thought about doing automatic image verification.

One idea that I have seen mentioned is this - the testsuite does not use any assertion, but simply captures a series of images. Once the tests are run, the program compares the image captured at each step with some previously known &quot;gold&quot; images.  This is a simple pixel-by-pixel comparison. If there is any mismatch, it is considered to be a test failure. A report of failures - what was expected and what was actually got - is send out to the developer. The developer goes through this report, and recognizes bugs. Sometimes the UI might have changed because of a new feature added or improved; in such cases the developer can set the new image as the &quot;gold&quot;.

I haven&#039;t implemented it though :-)

Thanks,
Binil</description>
		<content:encoded><![CDATA[<p>Kam,</p>
<p>I have not thought about doing automatic image verification.</p>
<p>One idea that I have seen mentioned is this &#8211; the testsuite does not use any assertion, but simply captures a series of images. Once the tests are run, the program compares the image captured at each step with some previously known &#8220;gold&#8221; images.  This is a simple pixel-by-pixel comparison. If there is any mismatch, it is considered to be a test failure. A report of failures &#8211; what was expected and what was actually got &#8211; is send out to the developer. The developer goes through this report, and recognizes bugs. Sometimes the UI might have changed because of a new feature added or improved; in such cases the developer can set the new image as the &#8220;gold&#8221;.</p>
<p>I haven&#8217;t implemented it though <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks,<br />
Binil</p>
]]></content:encoded>
	</item>
</channel>
</rss>
