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.

Requirements:

  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.

Issues:

  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

Follow

Get every new post delivered to your Inbox.