I have the following structure in QC
Test Plan > Subject > Sample(Folder Name) > Scenario (Sub Folder) > TC1 (Test Case )
How can i retrieve TC1 using OTA and Java. Written the following code to get the Test folders , but not able to get the test cases under the Scenario folder
ITreeManager iTreeManager = qcConnect.treeManager().queryInterface(ITreeManager.class);
ISubjectNode iSubNode = iTreeManager.nodeByPath("Subject\\Sample").queryInterface(ISubjectNode.class);
IList testFolders = iSubNode.newList();
for (Com4jObject isys : testFolders) {
System.out.println("Test folder : "+ isys.queryInterface(ISysTreeNode.class).());
}
How can I get to TC1 and update the fields in the test case