Selenium

Installing PHP's Testing_Selenium on Windows

Posted on February 25th, 2010 by David Luhman and tagged , .

Earlier I blogged about setting up Selenium, PHPUnit et al on an Ubuntu machine.

Although I prefer to do web development on an Ubuntu machine, for 'legacy' reasons I still do some stuff on a Windows machine. For lighter web interface testing, a full CI tool like Hudson is overkill. Here's how to run Pear's Selenium_Testing alone (without PHPUnit) on Windows.

I assume you have PHP and the Pear installer on your Windows machine. Grab the Pear Selenium_Testing package with :

Running Selenium PHPUnit tests against Firefox in an Ubuntu virtual machine

Posted on January 4th, 2010 by David Luhman and tagged , , .

As part of my Hudson CI server, I'm trying to run Selenium-based PHPUnit tests with each build. The build machine is an virtual machine (VirtualBox) running Ubuntu desktop.

Initially, my tests weren't running thru Hudson and the associated build.xml file. This wasn't surprising since I had forgotten to start the Selenium RC server.

Using the Hudson Continuous Integration (CI) tool

Posted on December 18th, 2009 by David Luhman and tagged , , .

I recently started writing some automated Selenium (Se) tests . I wrote a few tests, and Se seems to work well. But after writing a few tests, I found I needed an easy way to run, report, and track test results.

This lead me to Hudson, a Continuous Integration (CI) tool.

Hudson builds a given project and then does a number of useful things :

  • Automatically run unit tests and provide coverage reports
  • Show style, syntax, and complexity results