Using Opera with Watir-Webdriver (for free)
Selenium 2.0 (WebDriver) was released today, and with it came support for Opera. Since Watir-WebDriver uses the WebDriver bindings, it now supports Opera out of the box. How to get it working First...
View ArticleEasily capturing response time metrics using the Watir-WebDriver-Performance gem
I don’t like long dedicated performance testing windows at the end of a project. I see response times as non-functional requirements, and like any other requirements, these should be tested as we’re...
View ArticleAn update to my Watir Page Helper Gem
I’ve released version 0.2.0 of the watir-page-helper gem, a gem to help you create page models for watir-webdriver. gem install watir-page-helper There’s two changes included: Nested elements are now...
View ArticleConfiguring Chrome settings when running Watir-Webdriver
I recently found the need to ignore certificate errors when running Watir-Webdriver tests in Google Chrome. The way to do this is slightly different from doing it in Firefox. Unlike Firefox where you...
View ArticleCapturing screenshots in Watir-Webdriver & Cucumber
Update: 29 August – Thanks to Rob Hunter for the screenshot embed trick When you’re running a suite of automated tests and one fails, I find it handy to capture a screenshot of the browser so it’s...
View ArticleRunning Watir-WebDriver tests on Travis CI: a distributed build system
I recently came across Travis CI, a distributed build system that has close links to Github. I’ve seen quite a few projects use it as a CI system, but none that run headless browser tests. Leveraging...
View ArticleDisabling native events when using Firefox with WebDriver
Imagine this, you’ve got a whole suite of regression tests (thousands of steps) written in Watir-WebDriver that you run on a corporate Windows XP SOE using Firefox. The tests have been run numerous...
View ArticleWatirMelon Spinach
Hello Spinach! “Spinach is a new awesome BDD framework that features encapsulation and modularity of your step definitions.” Seems like a good idea, so I thought I’d give it a try, and convert my...
View ArticleA tale of three ruby automated testing APIs (redux)
Redux Note: I originally wrote a similar article to this before going on parental leave about six weeks ago. Whilst I didn’t intend to offend, it seemed that a few people took my article the wrong way....
View ArticlePackaging a ruby script as an Windows exe using OCRA
I recently wrote a watir-webdriver ruby script that I needed to be able distribute to others to run on Windows machines that don’t have ruby installed. I came across the OCRA gem that allows you to...
View ArticleWatir-WebDriver: A detailed introduction
Update: 22 August 2011: Please see: watirwebdriver.com for a detailed guide to Watir-WebDriver Update: 22 July 2011: I have updated quite a number of things that have changed since the earlier releases...
View ArticleReducing step explosion by decoupling Cucumber steps from your GUI
Yesterday I wrote about creating a simple page object pattern framework in Cucumber that uses Watir to drive browsers. Ben Biddington left an excellent comment: “The thing I like about this pattern is...
View ArticleTrySelenium.org in Watir-WebDriver
Jason Huggins put out a call for some example scripts to tweet some stuff using Selenium. Whilst I don’t agree with this being done through the Twitter GUI (there’s an API for this), being a Watir core...
View ArticleImproving my WatirMelonCucumber page object framework
I’ve been working on some improvements to my WatirMelonCucumber page object framework, partly inspired by the SpecDriver C# framework I put together, and also inspired by a work colleague who’s...
View Article
More Pages to Explore .....