views:

336

answers:

5

Hey Everyone,

I'm trying to find some useful Open Source Testing Automation Tools for use with the .NET framework. I've done a fair bit of research, but unfortunately, most of the tools I have found focus on testing web applications only.

There are 3 types of programs that we run in order to make our software do what it needs to do: We program a service in VB.NET to collect data, we have an AJAX/JavaScript + VB/ASP.NET web application to view the data, and a VB.NET Form-based GUI to edit the data.

I understand that the chances finding a tool that would test all three is slim to nil, but I was not expecting a single tool to cover all of them.

Since the service we run is the most important, I was hoping the Stack Overflow community might have some insight as to what testing automation tools would be particularly useful for VB.NET services. Any information with respect to the GUI or Web Application sides would be a great help as well.

Thanks in advance. - Onion-Knight

+4  A: 

You can test your service with any unit test framework like NUnit, MbUnit, MSTest, ... .

Your web application like you probably know there many different applications like Watir, Watin, Selenium, SWAT, Telerik WebUITest Studio.

I'm not familiar with Windows form testing tool; however, I know that Telerik is comming up with one.

Vadim
+1  A: 

There are a number of good tools for testing.

Business Objects - test with NUnit,mbUnit,MSTest

Web testing - Selenium and NUnit or WatiN

Desktop GUI - not sure but you could try pyWinAuto - its a python application but you could use IronPython which is the .NET implementation

AutomatedTester
pyWinAuto does not support .NET forms. Wasn't able to get it to work reliably.
Tom E
A: 

For load testing you cant beat Open STA

Sheff
+1  A: 

TestComplete.

You can definitely use capture-replay to capture and run the test script. But I would suggest that you must at least manually edit your scripts to make them

  1. more readable
  2. easier to maintain.

The good thing about TestComplete is that it is able to look into your form's properties, capture those properties so that you can refer to those properties by their name, not by just screen coordinates.

Here's a similar question.

Ngu Soon Hui
A: 

For testing your Web and Windows GUI I would recommend to take a look at Ranorex. You can automate and validate your GUI elements with one tool. Since Ranorex is a .NET based automation framework, you can also generate real C# and VB.NET test code if you want.

gherget