Hello there. I am part of a middleware development group, but have been asked to research tools for regression testing our code. The code consists of .NET class libraries written in C#. Input and output are xml documents. We have a little web form that lets you submit the request from a textbox, and receive the response into another textbox. But what we want to do is be able to do is the following:
- feed test data into particular xpaths of the request document
- take data from xpaths of the response document and stick them into an xpath into another request document
- verify that the data returned in an xpath of a response document matches that of a particulat xpath in the request document
Can TestPartner do this? Can WinRunner do this? Is there any tool that can do this? If they can, is one easier to use/learn than the others? Thanks in advance for any help you can provide.
Thanks for the reply. But from what I understand, NUnit is only for unit testing. How would a test group then run an automated regression test on all the components?? It would have to include series of transactions running in sequence, verifying and then using data from the output of one in the input of the next, etc.
NUnit (and all the xUnit tools) provide a framework for which you can execute test cases and are used a lot for unit and integration testing. However what you include in your test is up to you since you are coding the test cases using a standard programming language (e.g. C#). The xUnit frameworks provide a framework for you to structure, execute and report on your tests.
In the case of your application you can skip the the test web-form and interact with the middleware directly. You can take the code behind the web-form and make it a class/function that can be called as part of your NUnit tests. If you need to make a sequence of calls, check databases etc then these can all be included in a single test. If you need to store data between calls either use variables or external files (if you need to pass data between test cases).
try rational functional/performance tester .net. loads right up under ms visual studio .net and uses vb .net as the implementation language. can handle anything from unit, class instantiation through user web or client testing...