Category: Watir
Stop Firefox asking where to save downloads with Watir-Webdriver by changing profile
September 27, 2010
My friend James has been using watir-webdriver to test his latest work. He was having trouble with Firefox prompting for the location to save files, which blocked the scripts he was running. While I’d like to claim some credit for pointing him at some helpful links, I think my real contribution was limited to being […]
Record and playback with Watir script recorders
August 18, 2010
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 […]
Watir popup examples not working (and a solution, finally)
July 26, 2010
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 […]
Celerity update
February 22, 2010
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).
Running Watir cross-browser using Internet Explorer, Firefox and Celerity
July 2, 2009
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 […]
Another Australian context-driven blog
May 14, 2008
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/
More on Tiny MCE and value threats
October 8, 2007
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 […]
Attention, attention…
September 10, 2007
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, […]
Watir difficulties, problems and trouble with TinyMCE
September 4, 2007
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 […]