Ben Biddington

Whatever it is, it's not about "coding"

Archive for September 2008

Does anyone else wish McCartney would shut up and fuck off?

leave a comment »

I wish I could filter my newspaper…


Written by benbiddington

26 September, 2008 at 09:13

Posted in Uncategorized

Tagged with , , , , ,

Selenium RC

leave a comment »

Selenium RC allows selenium testing to be automated — run as part of unit test suite.


  1. Download it. Package includes both the server and clients that you can use to write your tests with.
  2. Ensure the Selenium RC server is running. Requires single jar invocation as shown in the tutorial.


  1. Server can only be started once — otherwise socket-related exception results.
  2. I have had some strange problems with security in Internet Explorer. The first request works, but subsequent requests fail with security exceptions — and the first request waits on a “do you wish to close this window dialog”. Perhaps a Windows update has affected it.
  3. Firefox 3.0 will not start
UPDATE: I just noticed that the Selenium IDE (Firefox) actually generates sourcecode for tests — not just HTML markup

Written by benbiddington

21 September, 2008 at 17:12

Posted in Uncategorized

Batch image manipulation

leave a comment »

I’d like to be able to resize a set of image files using some command line tool. I am trying Image Converter Plus. Another option is ImageMagick. Download ImageMagick.

Turns out the latest version does not work in Windows XP. Invoking convert results in error:

convert: missing an image filename 'file.jpg'.

I have also tried version 5.5.7, following this advice. This does not work either.

And to get 5.5.7 to work I had to rename the Windows version of convert because of the error:

Must specify a file system 

encountered when attempting to use convert.exe version 5.5.7.

Image Converter Plus is a piece of crap — and is only a one day trial.

Written by benbiddington

19 September, 2008 at 08:39

Posted in development

Pea Green Boat, Automating FTP deployment

leave a comment »

We are using NAnt with an FTP build task

I will combine this with our subversion repository to enable one click deploy. Also may convert Selenium script so we can run that at the same time.

There does not seem to be an official FTP task, however there is the one mentioned above. It does not include delete for some reason which is unforunate. Perhaps we should switch to Ant which does have a fully working delete.

Additional tasks required:

  1. FTP task
  2. NantContrib (Enables Subversion interaction)
Download these and place them in a tasks folder underneath the nant installation directory, and then reference them using the loadtasks element.
We now have a bunch of targets we can run for automated deployment over FTP.
There is more on this on the project wiki page.

Written by benbiddington

18 September, 2008 at 15:26

Posted in development

Tagged with , , , ,