I was impressed with the announcement of Google Wave at Google I/O two weeks ago. Thanks to being in attendance, I was able to get a sandbox account and start checking it out. Of course because there aren't a lot of people that I know on there and after getting shinied for a week doing simple things (or sometimes nothing at all), I needed to take a break. But Google Wave led to GWT which led to the idea of automating web application testing.

One of the interesting things about Google Wave is that it was implemented using the Google Web Toolkit (GWT, pronounced 'gwit' apparently). GWT is a Java-based framework that compiles your code to HTML/JS/CSS. Like a lot of folks, I was skeptical about this idea (particularly since none of the significant Google web services were built using GWT). The fact that Google has implemented a major service on top of this toolkit now gives me a sense that GWT has been put through its paces.

Anyway, after the announcement, I adjusted my second day conference schedule so that I could take in the session on Wave and GWT. As part of this talk, they mentioned how they use WebDriver to automate testing of Wave across browsers. I had never really heard about automating web app testing, so I found the notion particularly interesting. Has anybody had any success with Selenium or WebDriver on apps that use SVG or Canvas?

Really briefly I tried to use the Selenium IDE extension for Firefox to run a test on the svg-edit demo. Unfortunately it doesn't seem possible to capture the mouse click/movement on SVG elements, which means it's a non-starter for me at the moment. I signed up for an account with OpenQA and asked an unanswered question. Note that after I asked this question, the svg-edit app abandoned its use of the <object> tag in favor of inline SVG that is programmatically added to the page. Unfortunately this resulted in the same effect: Selenium IDE ignores mouse clicks within SVG elements. Bummer.

I then tried to submit a bug only to find that OpenQA's JIRA was crashing. To report THAT bug I'd have to sign up with an account at atlassian and that's just too many degrees away from where I want to be. No one was around on the #selenium channel in IRC Freenode so I gave up for now. Hot Tip: if you want to build a community, make sure basic things like signing in to your bug tracker work!

§537 · June 8, 2009 · Google, Software, SVG, Technology, Web · 2 comments · Tags: , , , , , ,


SVG is a pretty flexible format. Vector graphic editors often inject a lot of extraneous data to make their job easier. Unfortunately this excess data is just ignored by browsers and from that perspective just looks like bloat. In my opinion, output from editors such as Inkscape or Adobe Illustrator are not quite ready for the web, especially for purposes like clip-art. It's not at all rare to find files up on Open ClipArt with large chunks of the file that are not even used (extraneous gradients, filters, etc). I had an itching to learn a little Python so I used this as an excuse to create a script that would tidy up SVG files: Scour. Read the rest of this entry ...

§536 · May 17, 2009 · Software, SVG, Technology, Web · Comments Off on Scrubs · Tags: , ,


Mr. Schepers put together a proposal entitled Referenced Parameter Variables in SVG. This would allow declarative access to parameters from a parent document. Read the rest of this entry ...

§531 · April 14, 2009 · Software, SVG, Technology, Web · Comments Off on Pluggable SVG · Tags:


In case you missed it, Google Docs was recently upgraded with a Draw Chart capability. This was, in my opinion, the biggest reason to still use desktop software like Microsoft Office. The best part? It uses SVG to get the job done (and VML if you're still using IE). Bravo! Encore!

Thoughts on the future of this feature? Here are some things I want:

  • Please allow the author to extract the drawing as an SVG file from the service (currently Firebug is the only way I could figure out how).
  • Fill gradients (Linear and Radial), please

And yes, there are privacy concerns with an online (aka 'cloud') service like this - I'm not implying you should use this for everything - but for the occasional document that you want to use for collaboration, it really does the trick.

Now if only I could get them to update their Spreadsheet service so that I can use it offline...

§527 · March 30, 2009 · Google, Software, SVG, Technology, Web · 2 comments · Tags: , ,


This evening on "As The Twitter Spews":

BTW, if you're not on Twitter yet, you are missing out. For instance, I find this feed useful.

§522 · February 18, 2009 · Microsoft, Opera, Software, SVG, Technology, Web · 2 comments · Tags: , , ,