Photo from Chile

Export Selenium-IDE Scripts in CFSelenium (ColdFusion) Format

Hot on the heels of the release of CFSelenium, I have created a Firefox plugin that will allow you to export scripts from Selenium-IDE in CFSelenium format, wrapped inside an MXUnit test case. The plugin is dead simple to use, simply add the extension to your installation of Firefox and you'll see a new menu item in Selenium-IDE under File - Export Test Case As..., Options - Format and Options - Clipboard Format. The menu item is labelled CFML (ColdFusion) Selenium RC (MXUnit). Choosing this menu item will translate your current test case into CFSelenium format, wrapped in an MXUnit test case.

The Firefox extension is available in the distribution at both GitHub and RIAForge, and will hopefully be made available at SeleniumHQ once it's found to be stable. I'm sure it could use some improvements, so please give it a try and let me know what you think of it.

I was able to create the Firefox extension by basically copying and modifying the source code for the Grails Formatters created by Rob Fletcher, so a big thank you goes out to him for making the job simple and painless.

Introducing CFSelenium - A Native ColdFusion Client Library for Selenium-RC

We were very lucky to have Adam Goucher, a member of the core Selenium team and the maintainer of Selenium-IDE, as a speaker at the Toronto ColdFusion User Group this month. Adam delivered an awesome presentation about automated testing in general and Selenium in particular.

During the session I asked a bunch of questions about the architecture of the Selenium components, in particular Selenium-RC and WebDriver, which is now part of Selenium 2.0. Through our conversation I came to understand that it would be fairly simple to create a native ColdFusion client library for Selenium-RC, so I decided to give it a try. Thankfully it was as simple as I expected and I decided to complete the library so that the full API of Selenium-RC is supported.

Thus CFSelenium was born and was given a home at GitHub. If you have no idea what I'm talking about, fear not, I will provide some more background information on Selenium and Selenium-RC in the rest of this post.


Previous Entries