Category Archives: Tools

Explaining Watir, Selenium and WebDriver

Something I seem to be explaining to people all the time… the relationships between Watir, Watir “2.0″, Selenium, Selenium “2.0″ and WebDriver. Alister Scott has done an excellent job of explaining the impact of WebDriver on Selenium and Watir and … Continue reading

Posted in Automated Testing, General Testing Stuff, Tools, WATIR | Tagged , , , , | Leave a comment

Testing redirects with ruby

Testing redirects from a web app is simple enough – make a request and check the response code making sure it’s a 301, 302 or whatever you’re expecting. The test you end up writing isn’t nice idiomatic ruby though. So, … Continue reading

Posted in Automated Testing, Example Code, Making Life Easier, RSpec, Ruby, Tools | Tagged , , , , , | Leave a comment

Remove junk from IronRuby cucumber output

When running cucumber tests under IronRuby, your output will be full of junk like the following: Feature: example feature Scenario: a scenario←[90m     # features\testoutput.feature:3←[0m ←[32mGiven some test setup←[90m  # features/step_definitions/output_steps.rb:1←[0m←[0m ←[32mWhen I do something←[90m    # features/step_definitions/output_steps.rb:5←[0m←[0m ←[32mThen something happens←[90m # … Continue reading

Posted in Automated Testing, IronRuby, Ruby, Tools, cucumber | Tagged , , , , | Leave a comment

TURN: test::unit reporting as it should have been…

TURN (“Test::Unit Reporter (New)”) aims to fix test::unit‘s default output. Instead of waiting until the end of a test run for failure details, Turn displays failures immediately. It looks promising… Bookmark to:

Posted in Automated Testing, Making Life Easier, Ruby, Test::Unit, Tools | Tagged , , , | Leave a comment

RQuery: A thin layer of JQuery over watir/selenium

So I went to a presentation today, run by Aidy Lewis and Josh Chisholm about Josh’s new RQuery project; here’s a braindump of what I remember. RQuery is not supposed to be a competitor to Selenium or Watir but builds … Continue reading

Posted in RQuery, Ruby, Tools, Uncategorized | Tagged , , , | 2 Comments

How to test a WPF app using IronRuby and White

—UPDATE— Since I wrote this post, I have put together a ruby gem designed for testing WPF UIs called ‘bewildr’. I wrote up an introductory post about bewildr here. Bewildr removes the need for using White – it’s written in … Continue reading

Posted in Automated Testing, Example Code, IronRuby, Making Life Easier, Ruby, Test::Unit, Tools, bewildr, white | Tagged , , , , , , , , | 1 Comment

Where on earth is UISpy?

The very useful and very frustrating UISpy.exe seems to have gone missing from the latest Windows SDKs. After a bit of hunting around (and several gig of downloads later…) I found it in the “Windows SDK for Vista Update” (works … Continue reading

Posted in Links, Making Life Easier, Tools | Tagged | Leave a comment