views:

63

answers:

3

Hi

Does someone know a good way to automate the gui testing based on an Asp.Net frontend? (instead of always run the pages and test the inputs and outputs of a control by hand) Are there any references or framework to support these tests?

Thanks

+2  A: 

Watir is one solution.

Watir, pronounced water, is an open-source (BSD) library for automating web browsers. It allows you to write tests that are easy to read and maintain. It is simple and flexible.

RedFilter
+2  A: 

Selenium is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser.

Here are a couple of blogs that help you get started.

One by peterkrantz and one by stevetrefethen

Nicholas Murray
Used this before and it worked great.
corymathews
+1  A: 

This post details setting up Watir for web automation, and SpecFlow to write your tests.

Specflow uses an english style language to describe those tests. Its a method that I have been looking at recently. I've found it very useful, the number of actions you can perform on the web are relatively small, and lend themselves well to this style of language (go here, type this, click that, check something etc).

Jack Ryan