<?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"
	>
<channel>
	<title>Comments on: Using Selenium for automated functional testing of ASP.NET applications</title>
	<atom:link href="http://www.peterkrantz.com/2005/selenium-for-aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/</link>
	<description>A blog about technology, visualization, music and unmanned vehicle experiments</description>
	<pubDate>Sun, 06 Jul 2008 06:25:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Troy Scheffel</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-2221</link>
		<dc:creator>Troy Scheffel</dc:creator>
		<pubDate>Thu, 28 Feb 2008 13:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-2221</guid>
		<description>I've been using Selenium to test ASP.Net applications for a few days but it has quickly impressed me.  Yes, it takes a day or so to really get the hang of it and to see the possibilities.  And yes, the documentation is substandard but smart people know how to turn Google into their personal library. There is a wealth of quality Selenium info out there.

If you're receiving errors when running Selenium Core then you've not set it up correctly, which is fairly typical at first.  Some errors have to do with permissions if you copy files from one server to another but that happens with any file that needs to be served up by a web browser.

I had to deal with 3 files to run my own tests:
(1) I copied an existing test file to make Test_Login.aspx which contains commands to test my app’s login screen.
(2) I copied TestSuite.html and modified it so it contains only a reference to my new ./Test_Login.html file.
(3) I copied TestRunner.hta and modified it to point to MyTestSuite.html instead of TestSuite.html.

I made a SeleniumTestFramework folder under my web app's root, and copied Core and Tests folders into it.  After that I was able to double-click MyTestRunner.hta in Windows Explorer to launch the test framework.  It works beautifully.

Bottom line: like most any good software tool it takes some elbow grease &#38; smarts to wield properly but once it is working for you, the payoff is golden.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using Selenium to test ASP.Net applications for a few days but it has quickly impressed me.  Yes, it takes a day or so to really get the hang of it and to see the possibilities.  And yes, the documentation is substandard but smart people know how to turn Google into their personal library. There is a wealth of quality Selenium info out there.</p>
<p>If you&#8217;re receiving errors when running Selenium Core then you&#8217;ve not set it up correctly, which is fairly typical at first.  Some errors have to do with permissions if you copy files from one server to another but that happens with any file that needs to be served up by a web browser.</p>
<p>I had to deal with 3 files to run my own tests:<br />
(1) I copied an existing test file to make Test_Login.aspx which contains commands to test my app’s login screen.<br />
(2) I copied TestSuite.html and modified it so it contains only a reference to my new ./Test_Login.html file.<br />
(3) I copied TestRunner.hta and modified it to point to MyTestSuite.html instead of TestSuite.html.</p>
<p>I made a SeleniumTestFramework folder under my web app&#8217;s root, and copied Core and Tests folders into it.  After that I was able to double-click MyTestRunner.hta in Windows Explorer to launch the test framework.  It works beautifully.</p>
<p>Bottom line: like most any good software tool it takes some elbow grease &amp; smarts to wield properly but once it is working for you, the payoff is golden.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-2186</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 30 Jan 2008 17:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-2186</guid>
		<description>Great intro, too bad I can't get Selenium to work on my machine.
I can run the "dogfood" tests that come with it, but can't execute any home made or recorded tests. 

When I try, in IE 6 (yes, we are still using it here...) I get a javascript error 'this.link' has no properties. 
The  error points to the following line of code in selenium-testrunner.js 
        this.link.onclick = fnBindAsEventListener(this._onClick, this);
help!</description>
		<content:encoded><![CDATA[<p>Great intro, too bad I can&#8217;t get Selenium to work on my machine.<br />
I can run the &#8220;dogfood&#8221; tests that come with it, but can&#8217;t execute any home made or recorded tests. </p>
<p>When I try, in IE 6 (yes, we are still using it here&#8230;) I get a javascript error &#8216;this.link&#8217; has no properties.<br />
The  error points to the following line of code in selenium-testrunner.js<br />
        this.link.onclick = fnBindAsEventListener(this._onClick, this);<br />
help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Happy Selenium User</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1931</link>
		<dc:creator>Happy Selenium User</dc:creator>
		<pubDate>Mon, 02 Apr 2007 22:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1931</guid>
		<description>BTW, if you are using Selenium-RC, you will have to do: java -jar selenium-server.jar -multiWindow.  It'll be easier if you call this with a .bat file and use System.Threading;

proc = System.Diagnostics.Process.Start("c:\\Selenium\\selenium.bat");

selenium = new DefaultSelenium("localhost", 4444, "*iexplore", "http://test");

etc..etc.. get the picture?</description>
		<content:encoded><![CDATA[<p>BTW, if you are using Selenium-RC, you will have to do: java -jar selenium-server.jar -multiWindow.  It&#8217;ll be easier if you call this with a .bat file and use System.Threading;</p>
<p>proc = System.Diagnostics.Process.Start(&#8221;c:\\Selenium\\selenium.bat&#8221;);</p>
<p>selenium = new DefaultSelenium(&#8221;localhost&#8221;, 4444, &#8220;*iexplore&#8221;, &#8220;http://test&#8221;);</p>
<p>etc..etc.. get the picture?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eyang</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1930</link>
		<dc:creator>Eyang</dc:creator>
		<pubDate>Mon, 02 Apr 2007 22:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1930</guid>
		<description>Selenium RC is working fine for me and I love it. It gets the job done and keeps me coding in C#.</description>
		<content:encoded><![CDATA[<p>Selenium RC is working fine for me and I love it. It gets the job done and keeps me coding in C#.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ERobert</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1778</link>
		<dc:creator>ERobert</dc:creator>
		<pubDate>Wed, 14 Mar 2007 00:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1778</guid>
		<description>I tried the selenium tutorial from http://www.openqa.org/selenium-rc/tutorial.html and I cannot get it to work. I am impressed by the all architecture.
But both IE and Firefox do not load the page when I run
- cmd=getNewBrowserSession&#38;1=*iexplore&#38;2=http://www.google.com
or
- cmd=getNewBrowserSession&#38;1=*firefox&#38;2=http://www.google.com

I do not understand why people would write a tutorial and do not make sure it works or that it is understandable. Could by that it was not updated lately.

Peter may be you could try for us and report if I am an idiot or there is something wrong.</description>
		<content:encoded><![CDATA[<p>I tried the selenium tutorial from <a href="http://www.openqa.org/selenium-rc/tutorial.html" rel="nofollow">http://www.openqa.org/selenium-rc/tutorial.html</a> and I cannot get it to work. I am impressed by the all architecture.<br />
But both IE and Firefox do not load the page when I run<br />
- cmd=getNewBrowserSession&amp;1=*iexplore&amp;2=http://www.google.com<br />
or<br />
- cmd=getNewBrowserSession&amp;1=*firefox&amp;2=http://www.google.com</p>
<p>I do not understand why people would write a tutorial and do not make sure it works or that it is understandable. Could by that it was not updated lately.</p>
<p>Peter may be you could try for us and report if I am an idiot or there is something wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FTorres</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1655</link>
		<dc:creator>FTorres</dc:creator>
		<pubDate>Thu, 01 Mar 2007 02:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1655</guid>
		<description>If you are interested in writing, debugging and running web testing with C# or VB.NET and the different flavors of Visual Studio (Including the free express) try www.InCisif.net.

InCisif.net is an automation tool designed to implement client-side functional testing of web applications under Internet Explorer 6.x or 7.x, using the C# or VB.NET language.</description>
		<content:encoded><![CDATA[<p>If you are interested in writing, debugging and running web testing with C# or VB.NET and the different flavors of Visual Studio (Including the free express) try <a href="http://www.InCisif.net" rel="nofollow">http://www.InCisif.net</a>.</p>
<p>InCisif.net is an automation tool designed to implement client-side functional testing of web applications under Internet Explorer 6.x or 7.x, using the C# or VB.NET language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swrna</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1286</link>
		<dc:creator>swrna</dc:creator>
		<pubDate>Tue, 06 Feb 2007 18:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-1286</guid>
		<description>Is there any user documentation available for new users?</description>
		<content:encoded><![CDATA[<p>Is there any user documentation available for new users?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-276</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Sun, 15 Oct 2006 14:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-276</guid>
		<description>Hi Peter,
I know i am very late on this post but i am trying to get code coverage from selenium. I am able to get coverage from unittest ran against an instance of cassini webserver. But it seems that only coverage from aspx files is generated. Have you been able to produce coverage? I would like to hear from you.

Thanks in advance.
Jasper</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
I know i am very late on this post but i am trying to get code coverage from selenium. I am able to get coverage from unittest ran against an instance of cassini webserver. But it seems that only coverage from aspx files is generated. Have you been able to produce coverage? I would like to hear from you.</p>
<p>Thanks in advance.<br />
Jasper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mad_selenium_user</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-269</link>
		<dc:creator>mad_selenium_user</dc:creator>
		<pubDate>Wed, 27 Sep 2006 00:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-269</guid>
		<description>If only it were as easy as you describe. This example is deceptive. I've seen all the little apps that show little things but havent heard of or seen any big achivements with selenium RC and asp.net. 

See you will run into many problems. Problems that  hinder most opensource projects. No Documentation, no code samples and a slew of special rules that will make your project go behind schedule while trying to get it to work. 

I, like most others, was very happy to learn about the IDE, RC and getting it to work with C#. Well, so far its been short lived. Nothing is working. 

Maybe you are smarter than me and can get it to work for you. 

Best of luck!</description>
		<content:encoded><![CDATA[<p>If only it were as easy as you describe. This example is deceptive. I&#8217;ve seen all the little apps that show little things but havent heard of or seen any big achivements with selenium RC and asp.net. </p>
<p>See you will run into many problems. Problems that  hinder most opensource projects. No Documentation, no code samples and a slew of special rules that will make your project go behind schedule while trying to get it to work. </p>
<p>I, like most others, was very happy to learn about the IDE, RC and getting it to work with C#. Well, so far its been short lived. Nothing is working. </p>
<p>Maybe you are smarter than me and can get it to work for you. </p>
<p>Best of luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satish</title>
		<link>http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-157</link>
		<dc:creator>Satish</dc:creator>
		<pubDate>Fri, 18 Aug 2006 08:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/2005/selenium-for-aspnet/#comment-157</guid>
		<description>Thanks</description>
		<content:encoded><![CDATA[<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
