I have a problem with dumping testsets list from HP QC. I'm using TestSetFactory object and simple SQL query and I receive > object (I'd love to receive dictionary filled base dump. What is wrong with this code? If you have a questions about implementation some function, write.
def create(self):
self._report_connector.connect()
self.qc_test_set_factory = self._report_connector._get_factory(self._path)
test_sets = self.qc_test_set_factory.NewList("SELECT * FROM CYCLE ")
if test_sets == None:
print " no results"
for test in test_sets:
pprint.pprint(test) #<---- it print me <COMOBject <unknow>>
print len(test_sets) #<---- it print me 1