Selenium RC, Safari and Blocking Browser Pop-Ups

Just a quick note here:
If you are using selenium rc to remote control a Safari on a Mac, remember to turn off pop-up blocking, or else your tests will hang in “selenium.start()” somewhere deep down in HttpURLConnection.getResponseCode() because the selenium-rc server never returns with any content.
In Safari menu, de-select “Block Pop-Up Windows”.
Let’s just say this [...]

February 13, 2010  Tags: , , ,   Posted in: Programming, Testing, Tools  No Comments

AppleScript to Check Image Ratio on a Bunch of Files

Faced with the tedious task of checking a large bunch of image files for the correct ratio before uploading to a print service website, I set out to write a small AppleScript application that could do it for me. It turned out to be quite fun and at the same time I got my feet [...]

October 7, 2009  Tags: , ,   Posted in: Operating Systems, Photography, Programming, Tools  No Comments

Multiple iPhoto Libraries

Just discovered a cool feature of iPhoto (’08) that I did not know about. It can handle multiple iPhoto libraries.
Due to serious color-related limitations on the display of my wifes laptop, she currently imports her pictures onto my Mac. In addition, my oldest child is taking more and more pictures with her camera, all of [...]

August 15, 2009  Tags: , ,   Posted in: Photography, Tools  One Comment