Search  
Wednesday, January 07, 2009 ..:: Blogs ::.. Register  Login
 Moke Blog Minimize

    

 Moke Blog Minimize

    

 Unit testing ASP.NET applications with WatiN links Minimize
Location: BlogsMoke Blog    
Posted by: Rick Mokros 7/15/2008 1:25:41 PM
I have been using WatiN to create unit tests for an ASP.NET application.  Using WatiN has been fairly successful after overcoming some hurdles.   Below are some important links that you might find useful.
 
 http://watin.sourceforge.net/ - here is the project home on sourceforge.net.  I am using the 2.0 version that supports Generics and Linq.
 
http://infozerk.com/averyblog/watin-testing-pattern/ - pattern for building test.  I am actually using the patter that James Brown posted as a comment to James article in this link.
 
http://watintestrecord.sourceforge.net/ - this is a recorder that records your activity and will generate your recorded action as an NUnit, mbUnit, etc test.
 
I have been using the IE Developer Toolbar to identify control names, etc.  However, I ran into a bug that required a hack to change a js resource in a dll distributed by the IE Developer toolbar.  You can find the hack/fix here http://forums.microsoft.com/msdn/showpost.aspx?postid=1695145&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1
 
 
Permalink |  Trackback

Your name:
Title:
Comment:
Add Comment   Cancel 

  

There are no categories in this blog.
Copyright 2006 by Moke's Information Technology, Inc.   Terms Of Use  Privacy Statement