Željko Filipin's Blog on Software and Testing

Test like you do not need the money.

Archive for the ‘Watir’ Category

Watir on WebDriver

with 29 comments

Jari Bakken just released Watir on WebDriver.

On Windows, install it with

gem install watir-webdriver

and use it with

require "rubygems" # optional
require "watir-webdriver"
browser = Watir::Browser.new(:firefox)

Supported browsers are Internet Explorer (:ie, :internet_explorer), Firefox (:ff, :firefox), Chrome (:chrome) and RemoteWebDriver Server (:remote).

Update 1: as Steve suggested, I have tried it on RubyInstaller.

Install RubyInstaller, DevKit and all required gems and it just works!

gem install watir-webdriver
gem install win32-process

Update 2: It works on Mac.

My Mac came with Ruby and RubyGems installed, so it was just:

sudo gem install watir-webdriver

Update 3: It works on Ubuntu Linux.

My Ubuntu did not have Ruby and RubyGems installed.

Install Ruby with:

sudo apt-get install ruby-full

You can install RubyGems with:

sudo apt-get install rubygems

but Jari said it would be better to install it from source. Downland the latest RubyGems tgz or zip file (rubygems-1.3.5.tgz and rubygems-1.3.5.zip at the moment), extract it, open Terminal in extracted folder and run:

sudo ruby setup.rb

Install watir-webdriver:

sudo gem1.8 install watir-webdriver

Update 4: watir-webdriver is no longer prerelase gem, so installation is simpler.

Written by Željko Filipin

January 12th, 2010 at 6:03 pm

Posted in Watir

Watir Support Sheriffs

with one comment

Recently I became Watir community manager.

Watir team had a little chat and we decided it would be a good idea to grow. So, one of the first duties I had as community manager was to promote two community members to support sheriffs.

I am glad I can announce that Tiffany Fodor and Wesley Chen have accepted to be added to Watir community team with title of support sheriff.

Tiffany answers a lot of questions and Wesley is helping us moderate the group. I hope both of them will continue with business as usual.

If you have a nice word for them, now is the time. :)

Written by Željko Filipin

December 16th, 2009 at 12:52 am

Posted in Watir

AWTA 2009 Notes

with one comment

AWTA 2009 Saturday

AWTA 2009 was a lot of fun. At Notes from AWTA 2009 you can find a lot of images, notes, podcasts, blog posts, presentations, twitter feed…

It was great to finally meet in person a lot of people I knew on-line for years. I have learned a lot how other people test. Also, Austin and Texas were very interesting to explore. I think all is already said about AWTA 2009. I just hope I will be there the next year too.

AWTA 2009 Sunday

Written by Željko Filipin

January 24th, 2009 at 5:17 pm

Posted in Events,Watir