views:

118

answers:

4

I want set up automated regression tests for a website -- the user fills out forms and I want to check for correct responses.

Can anyone recommend tools for automating this?

+2  A: 

Take a look at Selenium, it should provide you with what you need.

Specifically look at

http://seleniumhq.org/projects/remote-control/

You can write your tests in a number of different languages (C#, Java, Python) etc...

Here's an example (using XPath) to populate a number of text fields (Java example):

http://patrickwilsonwelsh.com/?p=47

Jon
A: 

Have a look at Selenium.

Shaji
A: 

WatiN is a good alternative. I've used both this and Selenium and like both. Each has particular strengths.

dove
"Each has particular strengths" - Which are?
jfar
+3  A: 

You might want to check out StackOverflow Question 417380, which compares WatiN and Selenium for automated web testing.

Matthew Rankin