HP Quality Center Automationのotalclient.dllを使用して、ルートからのテストセットのリストを決定しています。oleメソッドはリスト(具体的にはIFactoryList)を返しますが、リストを配列に変換する方法を学ぶために何をする必要があるのか、または読む必要があるのでしょうか。
コード:
qc_connection = WIN32OLE.new('tdapiole80.TDConnection')
qc_connection.InitConnectionEx connection_url
qc_connection.login connection_name, connection_pwd
qc_connection.Connect qcDomain, qcProject
tree_manager = qc_connection.TestSetTreeManager
test_set_factory = qc_connection.TestSetFactory
test_set_list = test_set_factory.NewList("")