Currently i am working on a project where our goal is to upload files [Ms word, notepad, Excel...] to QC using java program.
Can some body share a code or guide me how to do that.
Thank you so much Rob for replying, because I was putting the same questions on so many java forum and no one dares to reply.
Yes, I am talking about HP's Quality Center version 9.2
About my self; I am just a learn and implement kind of person not much specialized in java. NO idea about JNI, but i will defiantly going to explore.
QcTools4j: I have try that as well however the observations are:
1] If i click to download QcTools4j, i get popup for com.mercury.qualitycenter.otaclient-9.2.jar file
2] I imported com.mercury.qualitycenter.otaclient-9.2.jar and try work with it
3] The java doc provided on http://qctools4j.sourceforge.net/ talks about classes like:
Where as if i browse "com.mercury.qualitycenter.otaclient-9.2.jar " there are no such classes
nothing call "tszadel" inside the jar
So i am just trying to bit the bush;
I am able to build the following code using "com.mercury.qualitycenter.otaclient-9.2.jar"
With the help of above code i can connect to QC, get the Test Set instance, Test Case instance, Run instance
but i need a direction to deal with attachment part, and there i get into the problem.
The com.tszadel.qctools4j.clients.AbstractClient and com.tszadel.qctools4j.model.metadata.Attachment classes are part of QcTools4j. You'll need to download those, but I'm surprised that you can't do that directly from their website. Fortunately I know SourceForge somewhat; you can find the right JAR file at https://sourceforge.net/projects/qctools4j/files/.
I'm afraid that's probably as much help as I can offer, since I have never worked with QC before.
Joined: Jul 27, 2011
Thank you so much Rob, you are just awesome, I hope one day i will be like you in java.
Rajiv Bhati wrote:Thank you so much Rob, you are just awesome, I hope one day i will be like you in java.
Hi Rajiv Bhati,
I too involved in the same task that you done. I am in initial stage so please guide me i downloaded the two jars 1. com.mercury.qualitycenter.otaclient-9.2.jar and 2. QcTools4j-0.2.4.jar and i am new too all these stuff please guide me what i have to do next.