天天看點

WatiN: Web Application Testing In .Net!

When it comes to automated web site testing

, most of the times

you will think of Watir

in Ruby

) or Doit

. We thought the same. But then, we stumbled on WatiN

.

2000, Windows

for FireFox for some heavy duty automation!

Features that are provided by WatiN:

Automates all major HTML elements

Find elements by multiple attributes

Supports AJAX website testing

Supports frames (cross domain) and iframes

Supports popup dialogs like alert, confirm, login etc..

Supports HTML dialogs (modal and modeless)

Provides a Page and Control model.

Supports creating screenshots of webpages

Has a basic (extensible) logging mechanism

Easy to integrate with your favorit (unit) test tool

Works with Internet Explorer

6, 7, 8 and FireFox 2 and 3

Developed in C#

you can add and contribute new features yourself!

There are few more projects that you can use in conjunction with

WatiN. For example, you could try WatiN Test Recorder (generates code

compatible with WatiN)