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.
Joking aside, although we can do automation testing without a framework, it's not recommended. Don't bring a knife to a gunfight. Clicking a button is easy. It's just a few lines of code with Selenium WebDriver.
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.
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
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.
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
Using the Apis I developed for https://github.com/o2platform/FluentSharp I was able to write tests that cover the 3 scenarios that you mention
See these tests https://github.com/TeamMentor/Dev/tree/master/Source_Code/TM_UnitTests/TeamMentor.UnitTests.QA for a significant number of real-world tests written that way
See also disable IE visibility while using WatiN for an example of an Web Automation test
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With