WatiN

WatiN on VSTS

Submitted by aaron on Fri, 03/19/2010 - 21:36

Yes - you can use WatiN and Visual Studio Team System!  Simply create a brand new Unit Test within your project and use WatiN within the test methods.  The only catch is if you get an error that looks like this : 

The location of the file or directory ___ is not trusted.  To resolve this I needed to right click on BOTH WatiN.Core.dll and Interop.SHDocVw.dll and click the "Unblock" button at the bottom.  After that I needed to rebuild my project before the tests would run.

 

Testing Drupal with Watin : Watching For Errors

Submitted by aaron on Fri, 07/03/2009 - 15:49

The following class can be used to override the standard IE object in WatiN to run specific tests after every page load.  For example, in Drupal this class can be used to make sure that no error messages appear on any page during the test run.
 

Browser based web testing with WatiN, Gallio, and MbUnit (Part 2)

Submitted by aaron on Sat, 06/06/2009 - 17:18

In my previous post, I discussed the basics of using Gallio, MbUnit, and WatiN to test web applications.  In the previous example you could continue to add tests to the class by creating additional test methods and marking them with the test attribute.  However, you could not guarantee what kind of order those tests would run in.  Fortunately, MbUnit/Gallio is a flexible enough framework to allow you to create orderd test suites which is a common need for functional testing.
 

Browser based web testing with WatiN, Gallio, and MbUnit

Submitted by aaron on Sat, 06/06/2009 - 13:21

This post is about three remarkable open source testing tools.  WatiN, a .NET based web application testing framework can be used to drive the Internet Explorer, Firefox, and even Chrome web browsers.

Syndicate content

Copyright © 2011, Aaron Blondeau

Drupal theme by Kiwi Themes.