Category: Watir

Record and playback with Watir script recorders

A frequently asked question for Watir seems to be whether there are any “record and playback” tools.  While most of the references point to a somewhat old tool, two viable alternatives seem much harder to find for some reason. The first is Webmetrics‘ Global Watch Script recorder, available at http://www.webmetrics.com/products/script_recorder.html The second, is CubicTest.  This […]

Read More

Watir popup examples not working (and a solution, finally)

I’ve been finding popups in Watir a pain of late, with most of the solutions on watir.com not working for me.  Finally today, I found something that worked.  Steve Swanson’s solution did the trick. However, before it could work, I had to figure out that the AutoIT dll wasn’t correctly registered.  If you try the […]

Read More

Celerity update

I’ve just updated my celerity gem and it seems to fix all of the warnings that were flooding my scripts before. Performance is still a touch disappointing with our website, but the changes make it much more usable (and there’s an option to turn javascript off now according to the docs at http://rubyforge.org/forum/forum.php?forum_id=34490).

Read More

Running Watir cross-browser using Internet Explorer, Firefox and Celerity

Since reading about Celerity, I’ve been excited by the idea that I might be able to take my Watir scripts and run them more quickly by using a browser simulator. It also raised the possibility of taking scripts and running them in different environments and on different platforms, because Celerity runs under JRuby without a […]

Read More

Another Australian context-driven blog

Alister Scott, an Australian tester located in Brisbane has started a blog. There are a few Watir samples, and it’s always nice when a test automator puts their code up for scrutiny. I know my plans to do the same have taken far too long. Check his writing out at http://watirmelon.wordpress.com/

Read More

More on Tiny MCE and value threats

In response to Matt’s comment on the robustness of my Tiny MCE Watir solution, I’d like to point out that the main threat to the solution’s value for me is that I can no longer run the automation in the background. Send_keys seems to need the IE window to be the topmost window. A lot […]

Read More

Attention, attention…

The concept of inattentional blindness has been, if you’ll excuse the unintended pun, brought to the testing world’s attention lately by Cem Kaner and James Bach. Sajjadul Hakim has written recently on an exploratory testing experience in which he attributed failure to observe a bug to inattentional blindness. While this may have been the cause, […]

Read More

Watir difficulties, problems and trouble with TinyMCE

I’ve spent far too much of the last day and a bit trying to get Watir to identify and manipulate the TinyMCE rich text edit control. Hopefully the title of this post will allow anyone experiencing similar problems to Google my solution! TinyMCE does a lot of javascript nastiness (from Watir’s perspective), turning a text […]

Read More