<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>gyrmination</title>
	<link>http://ttwhy.org/home/blog</link>
	<description>from the seeds of gyrm</description>
	<pubDate>Sun, 05 Oct 2008 13:48:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
	<language>en</language>
			<item>
		<title>A Feeling</title>
		<link>http://ttwhy.org/home/blog/2008/10/05/a-feeling/</link>
		<comments>http://ttwhy.org/home/blog/2008/10/05/a-feeling/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 13:48:25 +0000</pubDate>
		<dc:creator>gyrm</dc:creator>
		
		<category><![CDATA[Observation]]></category>

		<guid isPermaLink="false">http://ttwhy.org/home/blog/2008/10/05/a-feeling/</guid>
		<description><![CDATA[It&#8217;s one of those days I&#8217;m not sure if it&#8217;s Fall or Spring. Did I sleep through the winter last night?  Piercing rays interplay with the tattered cumulus cloak, the breath is full of damp snowmelt. I feel a buzzing latency. Something will happen.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s one of those days I&#8217;m not sure if it&#8217;s Fall or Spring. Did I sleep through the winter last night?  Piercing rays interplay with the tattered cumulus cloak, the breath is full of damp snowmelt. I feel a buzzing latency. Something will happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://ttwhy.org/home/blog/2008/10/05/a-feeling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Selenium is Groovy</title>
		<link>http://ttwhy.org/home/blog/2008/09/26/selenium-is-groovy/</link>
		<comments>http://ttwhy.org/home/blog/2008/09/26/selenium-is-groovy/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 03:28:10 +0000</pubDate>
		<dc:creator>gyrm</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Selenium]]></category>

		<guid isPermaLink="false">http://ttwhy.org/home/blog/2008/09/26/selenium-is-groovy/</guid>
		<description><![CDATA[UI-Element has been integrated into Selenium Core in the project&#8217;s subversion repository for some time now. This means no special tricks are necessary to use it - just specify your map file as a user extension! I&#8217;m posting this announcement mainly because it seems my original UI-Element post is at the top of Google&#8217;s search [...]]]></description>
			<content:encoded><![CDATA[<p>UI-Element has been integrated into Selenium Core in the project&#8217;s subversion repository for some time now. This means no special tricks are necessary to use it - just specify your map file as a user extension! I&#8217;m posting this announcement mainly because it seems my original UI-Element post is at the top of Google&#8217;s search results, and I wanted to make clear that some things have changed significantly since it was published (but don&#8217;t want to rewrite the thing &#8230; you know, for posterity!).</p>
<p>Here&#8217;s the <a href="http://svn.openqa.org/fisheye/browse/~raw,r=trunk/selenium/trunk/src/main/resources/core/scripts/ui-doc.html">updated documentation link</a> (if it doesn&#8217;t move again).</p>
<p>In other news, there is now a Groovy formatter for Selenium IDE, and support for a special <code>GroovySeleneseTestCase</code> which makes it possible to merge <em>*AndWait</em> commands into single commands. For example:</p>
<pre class="code">
clickAndWait | foo
</pre>
<p>with the Java formatter translates into:</p>
<pre class="code">
selenium.click("foo");
selenium.waitForPageToLoad("30000");
</pre>
<p>while the Groovy formatter simply says:</p>
<pre class="code">
selenium.clickAndWait("foo")
</pre>
<p>Cleaner, and more expressive.</p>
]]></content:encoded>
			<wfw:commentRss>http://ttwhy.org/home/blog/2008/09/26/selenium-is-groovy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Repartee</title>
		<link>http://ttwhy.org/home/blog/2008/08/28/repartee/</link>
		<comments>http://ttwhy.org/home/blog/2008/08/28/repartee/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 02:51:31 +0000</pubDate>
		<dc:creator>gyrm</dc:creator>
		
		<category><![CDATA[Laughter]]></category>

		<guid isPermaLink="false">http://ttwhy.org/home/blog/2008/08/28/repartee/</guid>
		<description><![CDATA[A couple of SUNY whipper-snappers pull up at the light just as I&#8217;m snapping into an organic banana.
&#8220;Yeah, yeah! Eat that banana!&#8221; they holler at me.
I roll down the window. &#8220;Don&#8217;t you wish you had one too?&#8221; I call back.
There&#8217;s a stunned silence. I guess they didn&#8217;t expect me to reply, because for all the [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of SUNY whipper-snappers pull up at the light just as I&#8217;m snapping into an organic banana.</p>
<p>&#8220;Yeah, yeah! Eat that banana!&#8221; they holler at me.</p>
<p>I roll down the window. &#8220;Don&#8217;t you wish you had one too?&#8221; I call back.</p>
<p>There&#8217;s a stunned silence. I guess they didn&#8217;t expect me to reply, because for all the swagger in their voices a second ago, them seem to be a little sheepish now, not knowing what to say.</p>
<p>Emboldened, I continue: &#8220;Then all three of us could be sittin&#8217; here, eatin&#8217; bananas together!!!&#8221;</p>
<p>Now they&#8217;re really at a loss for words!</p>
]]></content:encoded>
			<wfw:commentRss>http://ttwhy.org/home/blog/2008/08/28/repartee/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Selenium RC Per-Session Extension Javascript</title>
		<link>http://ttwhy.org/home/blog/2008/05/14/selenium-rc-per-session-extension-javascript/</link>
		<comments>http://ttwhy.org/home/blog/2008/05/14/selenium-rc-per-session-extension-javascript/#comments</comments>
		<pubDate>Thu, 15 May 2008 00:46:24 +0000</pubDate>
		<dc:creator>gyrm</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Selenium]]></category>

		<guid isPermaLink="false">http://ttwhy.org/home/blog/2008/05/14/selenium-rc-per-session-extension-javascript/</guid>
		<description><![CDATA[Several people have asked if it is possible to specify user extension Javascript dynamically with the RC, as opposed to on the command line with the -userExtensions flag when starting up the server. It wasn&#8217;t possible before.
It should be now.
If you build from r2291 or greater from the RC trunk, you can play with it. [...]]]></description>
			<content:encoded><![CDATA[<p>Several people have asked if it is possible to specify user extension Javascript dynamically with the RC, as opposed to on the command line with the <code>-userExtensions</code> flag when starting up the server. It wasn&#8217;t possible before.</p>
<p>It should be now.</p>
<p>If you build from r2291 or greater from the RC trunk, you can play with it. Basically, the extension Javascript must be specified before the browser is launched, and stays in-play until the session is closed. A sample test has been checked in here:</p>
<p><a href="http://svn.openqa.org/fisheye/browse/selenium-rc/trunk/tests/generated/src/test/java/com/thoughtworks/selenium/thirdparty/SessionExtensionJsTest.java?r=2365">SessionExtensionJsTest.java</a></p>
<p>This probably doesn&#8217;t work for proxy injection mode yet.</p>
<p>Happy extending!  <img src='http://ttwhy.org/home/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Update</strong></p>
<p>It appears too easy to encounter the &#8220;414 Request URI Too Large&#8221; issue. I&#8217;m looking into this.</p>
<p><strong>Update</strong></p>
<p>Looks like the 414 issue is related specifically to the Perl driver (see <a href="http://clearspace.openqa.org/message/43875">this Clearspace post</a>); I noticed it when using Perl, but did not see the issue when running an equivalent test in Groovy:</p>
<pre class="code">
import com.thoughtworks.selenium.*

class URILengthTest extends GroovyTestCase {
    def selenium

    @Override
    void setUp() {
        selenium = new DefaultSelenium('localhost',
            4444, '*firefox',
            'http://alistapart.com')
    }

    @Override
    void tearDown() {
        selenium.stop()
    }

    void testURILength() {
        def extensionJs = new File(
            'selenium-core/src/main/resources/core/scripts/ui-map-sample.js').text

        selenium.setExtensionJs(extensionJs)
        selenium.start()
        selenium.open('http://alistapart.com')
        selenium.click(
            'ui=allPages::section(section=topics)')
        selenium.waitForPageToLoad('5000')
    }
}
</pre>
<p><strong>Update</strong></p>
<p>Unfortunately, the 414 issue also affects the Python and Ruby client drivers (I just tested and verified this). I&#8217;m not about to fix them right this moment, so it appears the you can only truly take advantage of the per-session extension feature (i.e. include extensions of arbitrary size) in Java and Groovy for now.  <img src='http://ttwhy.org/home/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  The good news is that this issue has already been reported, and JIRA tickets created (<a href="http://jira.openqa.org/browse/SRC-319">SRC-319</a> for Perl, <a href="http://jira.openqa.org/browse/SRC-321">SRC-321</a> for Python, <a href="http://jira.openqa.org/browse/SRC-322">SRC-322</a> for Ruby, and others for C# and PHP).</p>
]]></content:encoded>
			<wfw:commentRss>http://ttwhy.org/home/blog/2008/05/14/selenium-rc-per-session-extension-javascript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Selenium IE XPath Enhancements</title>
		<link>http://ttwhy.org/home/blog/2008/04/24/selenium-ie-xpath-enhancements/</link>
		<comments>http://ttwhy.org/home/blog/2008/04/24/selenium-ie-xpath-enhancements/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 01:56:23 +0000</pubDate>
		<dc:creator>gyrm</dc:creator>
		
		<category><![CDATA[Selenium]]></category>

		<guid isPermaLink="false">http://ttwhy.org/home/blog/2008/04/24/selenium-ie-xpath-enhancements/</guid>
		<description><![CDATA[I recently made some performance improvements to the ajaxslt XPath library Selenium uses to drive XPaths in IE. One user asked me whether those could be made available. The answer is, they&#8217;re already in the Core subversion trunk! So you can pull down a copy and see if it helps with your IE woes.
Thought I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>I recently made some performance improvements to the ajaxslt XPath library Selenium uses to drive XPaths in IE. One user asked me whether those could be made available. The answer is, they&#8217;re already in the Core subversion trunk! So you can pull down a copy and see if it helps with your IE woes.</p>
<p>Thought I&#8217;d also expose the tool I <a href="/home/blog/2007/12/11/javascript-profiler/">mentioned earlier</a> that I&#8217;ve been using to find the places to optimize. You can play with the <a href="/code/jsprofile">jsprofile sample tests</a> now without checking out any code. Cool!</p>
<p>Keep in mind that the sample Google News page contains very old news.  <img src='http://ttwhy.org/home/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://ttwhy.org/home/blog/2008/04/24/selenium-ie-xpath-enhancements/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
