I am looking to connect HP quality center using C# and ASP.net. Can someone please suggest me a way to connect it using .net web application. Also, do i need to do any installation on my server where my application is hosted?
Below is some java code i found, I want something like this
//Connect to QC
ITDConnection itdc= ClassFactory.createTDConnection();
System.out.println(itdc.connected());
itdc.initConnectionEx("http://QC.com/qcbin");
System.out.println(itdc.connected());
itdc.connectProjectEx("DomainA", "ProjectB", "UserID", "Password");
There is no implementation to execute test sets in HP ALM 11.50 - REST API Ref. So to execute test you need to use OTA API.
Well, there are two ways of doing this. These are using:
OTA Client (Open Test Architecture)
This is the traditional way of connecting with HP QC/ALM from a third party app. This API has been available for many years and is quite mature in terms of the interactions it allows with QC. However this API I believe is COM based and is fast becoming outdated. Therefore I wouldn't recommend using this to build extensive custom QC harnesses.
REST API
HP has started providing a REST API for QC in their last few version. The REST API in the latest version of QC (now known as HP ALM 11.5) seems to be quite mature. I'd say the main advantage of this would be speed and better interoperability as I believe REST is fast becoming one of the main stream standards for exposing remote services.
That was some background on your options. However to give some examples of the code in C#, see the following code snippet.
Notes:
All the best.
S