Selenium – Running automated Web browser tests under Hudson

automated-testshudsonseleniumwatin

I'm running Hudson for my automated builds and love it.

I'd now like to create automated Web browser tests using either WaTiN (preferred) or Selenium.

As my Hudson runs as a Windows service (under Tomcat), how can I configure this to run? Will I be forced to log in as a user on the Hudson box so my automated browser tests will find a browser? Or is there some other sorcery with an interactive session that I can conjure up?

If possible I'd like the Hudson box itself to run the tests.

Best Answer

After some research I've found that WaTin won't work so well as I'd need to configure Hudson to run in an interactive Java session.

Selenium Grid, however, is perfect - there's a Hudson plug-in that can control it, too.

So that's what we'll use.

Related Topic