Monday, March 2, 2009

Playing with Celerity

I’ve started playing with a cool port of Watir to JRuby…it’s called Celerity.

Here’s the website. 

This is how it is described on the website:

Features

  • Fast - No time-consuming GUI rendering or unessential downloads
  • Easy to use - Simple API
  • JavaScript support
  • Scalable - Java threads lets you run tests in parallel
  • Portable - Cross-platform thanks to the JVM
  • Unintrusive - No browser window interrupting your workflow (runs in background)

 

One issue I’ve had with Celerity (and JRuby in general) is that Watir supports SSL out-of-the-box, whereas with Celerity (or JRuby), when I try to access an SSL address, I get a Java exception that the certificate can’t be found.  I’m sure there is a workaround, but haven’t worked on it yet. 

Other than that, I’ve played with it on a non-SSL website, and it seems to work exactly like Watir, only much faster and with no browser showing up.  Pretty cool.

No comments:

Post a Comment