<?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/"
		>
<channel>
	<title>Comments on: Selenium and HTMLUnit &#8211; the abstraction layer</title>
	<atom:link href="http://www.eviltester.com/index.php/2008/12/17/selenium-and-htmlunit-the-abstraction-layer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eviltester.com/index.php/2008/12/17/selenium-and-htmlunit-the-abstraction-layer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=selenium-and-htmlunit-the-abstraction-layer</link>
	<description>A different view of software testing</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:03:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Aslak Hellesøy</title>
		<link>http://www.eviltester.com/index.php/2008/12/17/selenium-and-htmlunit-the-abstraction-layer/#comment-1264</link>
		<dc:creator>Aslak Hellesøy</dc:creator>
		<pubDate>Tue, 10 Feb 2009 10:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.eviltester.com/index.php/2008/12/17/selenium-and-htmlunit-the-abstraction-layer/#comment-1264</guid>
		<description>This looks promising. I&#039;m at a project where we want to migrate lots of existing Selenium tests (in HTML format) to HTMLUnit.

I&#039;ll use this code as a basis, and also add a HTML parser that can parse Selenium HTML tests and invoke the com.thoughtworks.selenium.Selenium API. In practive the instance will be be.denali.test.SeleniumHTMLUnit.

For the HTML parsing I might base some of the code on http://code.google.com/p/selenium-htmlunit-adapter/

In order to be able to commit my work, I might put this up on a Git repository - probably at GitHub. Send me an email if you want to discuss this further.

&lt;em&gt;Whoa - before doing that - consider that PushToTest already has a Selenese parser in it, you might be able to just use PushToTest out of the box - we don&#039;t write our Selenium tests in Selenese so I had to dig into the source to get the part I needed - you might find PushToTest an even easier solution.&lt;/em&gt; </description>
		<content:encoded><![CDATA[<p>This looks promising. I&#8217;m at a project where we want to migrate lots of existing Selenium tests (in HTML format) to HTMLUnit.</p>
<p>I&#8217;ll use this code as a basis, and also add a HTML parser that can parse Selenium HTML tests and invoke the com.thoughtworks.selenium.Selenium API. In practive the instance will be be.denali.test.SeleniumHTMLUnit.</p>
<p>For the HTML parsing I might base some of the code on <a href="http://code.google.com/p/selenium-htmlunit-adapter/" rel="nofollow">http://code.google.com/p/selenium-htmlunit-adapter/</a></p>
<p>In order to be able to commit my work, I might put this up on a Git repository &#8211; probably at GitHub. Send me an email if you want to discuss this further.</p>
<p><em>Whoa &#8211; before doing that &#8211; consider that PushToTest already has a Selenese parser in it, you might be able to just use PushToTest out of the box &#8211; we don&#8217;t write our Selenium tests in Selenese so I had to dig into the source to get the part I needed &#8211; you might find PushToTest an even easier solution.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Cohen</title>
		<link>http://www.eviltester.com/index.php/2008/12/17/selenium-and-htmlunit-the-abstraction-layer/#comment-1188</link>
		<dc:creator>Frank Cohen</dc:creator>
		<pubDate>Thu, 18 Dec 2008 15:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.eviltester.com/index.php/2008/12/17/selenium-and-htmlunit-the-abstraction-layer/#comment-1188</guid>
		<description>Great write-up.

HTMLUnit 2.3 offers some utility APIs to handle the missing JavaScript files in the WebClient API. We find these all the time in our customer&#039;s sites. We added the following commands to TestMaker. These are in the 5.3 code base:

&lt;ul&gt;
	&lt;li&gt;loglevel = &quot;off&quot;, &quot;info&quot;, &quot;debug&quot; controls the Selenium HTMLUnit logging&lt;/li&gt;
	&lt;li&gt;throwExceptionOnFailingStatusCode, when set to true HTMLUnit will ignore errors when the source of an external script cannot be loaded&lt;/li&gt;
	&lt;li&gt;throwExceptionOnScriptError, when set to true HTMLUnit will ignore JavaScript? execution errors&lt;/li&gt;
&lt;/ul&gt;

-Frank

&lt;em&gt;Thanks Frank - now I have to do even less to improve the abstraction layer :)&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Great write-up.</p>
<p>HTMLUnit 2.3 offers some utility APIs to handle the missing JavaScript files in the WebClient API. We find these all the time in our customer&#8217;s sites. We added the following commands to TestMaker. These are in the 5.3 code base:</p>
<ul>
<li>loglevel = &#8220;off&#8221;, &#8220;info&#8221;, &#8220;debug&#8221; controls the Selenium HTMLUnit logging</li>
<li>throwExceptionOnFailingStatusCode, when set to true HTMLUnit will ignore errors when the source of an external script cannot be loaded</li>
<li>throwExceptionOnScriptError, when set to true HTMLUnit will ignore JavaScript? execution errors</li>
</ul>
<p>-Frank</p>
<p><em>Thanks Frank &#8211; now I have to do even less to improve the abstraction layer :)</em></p>
]]></content:encoded>
	</item>
</channel>
</rss>

