Red Squirrel Reflections
Dave Hoover explores the psychology of software development

Dave Hoover
dave.hoover@gmail.com

Categories
All [Atom]
Craftsmanship [Atom]
Dynamic [Atom]
Intersection [Atom]
Learning [Atom]
Links [Atom]
Polyglot [Atom]
Projects [Atom]
XP [Atom]
Old Blog

Obtivian Blogs

Andy Maleh
Colin Harris
Fred Polgardy
Jake Scruggs
Kevin Taylor
Leah Welty-Rieger
Ryan Platte
Todd Webb
Tyler Jennings

Archives

October 2008 (3)
September 2008 (1)
June 2008 (4)
April 2008 (3)
March 2008 (1)
February 2008 (1)
August 2007 (1)
July 2007 (1)
June 2007 (1)
May 2007 (4)
April 2007 (3)
March 2007 (5)
February 2007 (6)
January 2007 (6)
December 2006 (10)
November 2006 (5)
October 2006 (8)
September 2006 (8)
August 2006 (5)
July 2006 (12)
June 2006 (7)
May 2006 (5)
April 2006 (5)
March 2006 (4)
February 2006 (2)
January 2006 (5)
December 2005 (5)
November 2005 (3)
October 2005 (3)
September 2005 (6)
August 2005 (4)
July 2005 (7)
June 2005 (14)
May 2005 (6)
April 2005 (8)
March 2005 (9)
February 2005 (11)
January 2005 (16)
Old Archives

 

Sat, 08 Jul 2006

Selenium 0.7 RubyGem Update

As I mentioned in my talk at RailsConf, I needed to update the Selenium RubyGem to get it up-to-date. The gem is now available: gem install selenium. This will give you the latest release (0.7) of Selenium Core. In previous Selenium gems there were a few crufty Ruby files in there, but these have now been extracted to Selenium Remote Control.

This update is mostly for Jonas and Bret.

[/projects/selenium] permanent link

Tue, 02 May 2006

Selenium 0.6 RubyGem Update

The Selenium RubyGem on RubyForge was woefully out of date. Until today. It now contains the current Selenium release (0.6). Thanks to Jon for holding my hand as I created my first gemspec and to Jonas for his excellent Selenium on Rails plugin, which was the impetus for this update.

[/projects/selenium] permanent link

Fri, 17 Mar 2006

Selenium at RailsConf

My Selenium on Rails proposal was accepted for RailsConf 2006. Attendees can look forward to practical examples of all types of Selenium tests extracted from Real Life Project(s). You can also look forward to no slides, just code. See you in June!

[/projects/selenium] permanent link

Fri, 09 Dec 2005

Selenium on Rails

Once again I find myself distracted from my writing. Last time it was Ajax, and this time it's the killer combination of Rails and Selenium. I've joined the Selenium project to help improve the dynamic language drivers. My first goal is to integrate "driven" Selenium with Rails. Last night I spiked it against a partially developed Depot. Here's the test case:
require File.dirname(__FILE__) + "/seletest"

class ExampleTest < Test::Unit::TestCase

    def test_something

        open '/admin/list'

        verify_text_present 'Listing products'

        click_and_wait 'newProduct'
        click_and_wait 'commit'

        verify_text_present 'Price should be positive'
    end
end
And here's a screenshot of Selenium driving Rails.

As I added to the number and complexity of test cases, I followed Brian's advice and moved to a more declarative style. I'll have more to say about this in the weeks ahead.

[/projects/selenium] permanent link


powered by blosxom