File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Getting Test Case List from QC using Com4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Getting Test Case List from QC using Com4j" Watch "Getting Test Case List from QC using Com4j" New topic

Getting Test Case List from QC using Com4j

Vivek Sam

Joined: Jul 29, 2004
Posts: 8
I have written the following code to retrieve the list of Test Cases from QC, but the tsTestFactory is null, whereas when I evaluate its.tsTestFactory() it returns a Com4j object.

What am i doing wrong here

b spkrs

Joined: Mar 19, 2013
Posts: 1
I was having a similar issue. Here is some code that worked for me to list the Test Instances in a Test Set (I was originally having trouble at line 34 using ITestFactory):

AppLog can be replaced with System.out.println(); in this example for debugging. I hope this helps!
hu jie

Joined: May 16, 2013
Posts: 4
hi, I have already connect QC,after like this:

IList domainlist= itdc.visibleDomian();
IList projectlist= itdc.projectlist("DomainA");

//I get domain and project count, but how can i get domainlist and projectlist value?

Can you help me on this?get the domain's specific value?
I agree. Here's the link:
subject: Getting Test Case List from QC using Com4j
Similar Threads
Upload attachment to QC [Quality Center] using java
Connect Quality Center Using Java
How to write Junit test when a method returns multiple values
JTextField : setText() is not working. getText() is working