• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Test Case List from QC using Com4j

 
Vivek Sam
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic