Fabiano
Fabiano

Reputation: 5194

how to test Asp.Net frontend?

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

Upvotes: 3

Views: 1270

Answers (3)

Jack Ryan
Jack Ryan

Reputation: 8472

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).

Upvotes: 1

Nicholas Murray
Nicholas Murray

Reputation: 13529

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

Upvotes: 2

D'Arcy Rittich
D'Arcy Rittich

Reputation: 171559

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.

Upvotes: 2

Related Questions