Scott Hanselman

WatirMaker written again in Ruby

July 7, '06 Comments [1] Posted in ASP.NET | Ruby | Watir
Sponsored By

WatirmakerrubyI always thought WatirMaker was a pretty good idea. It was meant not as a recorder, per se, but rather as a "faster typer."

I use it to jump start spikes like my recent Vonage script. If I wrote Watir often enough I'd just use the Ruby interactive shell.

(By the way, if you  have 15 minutes - maybe it's lunch - visit here: http://tryruby.hobix.com/ and try Ruby out, guilt- and install-free, in your browser.)

After I did WatirMaker in C#, Michael Kelly and John Hann wrote it again in native Ruby with the tiniest bit of help from me early on. It's rockin' sweet IMHO.

You can run it by simply running "ruby watirmaker.rb" from the command-line or by redirecting to a file "ruby watirmaker.rb > myscript.rb."

John emailed me and said that he and Michael are going to look for a permanent home for this, but until then it's here.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Monday, July 24, 2006 3:32:25 AM UTC
I have made a few improvements to the Ruby version of WatirMaker. They are mostly minor changes, the two biggest being support for the :text property of links and the use of regular expressions for asp.net like id values.

If anyone is interested you can check it out at:
http://www.tonybunce.com/PermaLink,guid,ff4e1efc-ecd1-4078-b171-a3fe86807aea.aspx
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.