views:

310

answers:

2

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.

A: 

Have you checked here? This shows the Selenium Grid plug-in to Hudson.

Bozho
Thanks, that's interesting; but it was WaTiN I was hoping to automate if possible. (I know WaTiN and like it, word on the grapevine is that Selenium is a little more tricky, but if I need to learn Selenium to do this then so be it.)
Jeremy McGee
Your answer makes no sense without clicking on the link. Can you expand?
Michael Donohue
@Michael, that's because the link has an answer. Should I copy-paste it?
Bozho
No but how about saying what's in the link. Is it a picture of Jon Skeet? What is it?
Epaga
It is a dangerous virus, of course. What else could it be?
Bozho
I can't imagine why people continue downvoting this answer, since it provides the same link as the accepted answer.
Bozho
+2  A: 

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.

Jeremy McGee