This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
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?
 
 
subject: Getting Test Case List from QC using Com4j
 
Similar Threads
ConcurrentModificationException
Upload attachment to QC [Quality Center] using java
Connect Quality Center Using Java
JTextField : setText() is not working. getText() is working
How to write Junit test when a method returns multiple values