File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Author

Getting Test Case List from QC using Com4j

Vivek Sam
Greenhorn

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
Greenhorn

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
Greenhorn

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?
 
wood burning stoves
 
subject: Getting Test Case List from QC using Com4j