Hi,
Currrently we are working on RFT 8.2 ,with infragistics test advantage addin 8.2 (licensed) for windows forms.While performing automation testing we are unable to get the values from the treeview structure. We have to get the all the account values while running time.
I had tried to get the values by following way. I am getting only one value.
First I had taken the all data types and to get the data from each datatype. But I haven't got the all available values.
trvAccountExplorertree().getTestDataTypes()); TestDataTree tree=(TestDataTree) trvAccountExplorertree().getTestData(
trvAccountExplorertree().getTestDataTypes());
TestDataTree tree=(TestDataTree) trvAccountExplorertree().getTestData(
"itemProperties"); System.
System.
out.println("node count"+tree.getTreeNodes().getRootNodeCount()); TestDataTreeNode node=(TestDataTreeNode) tree.getTreeNodes().getRootNodes()[0]; String nodeName=node.getNode().toString(); System.
TestDataTreeNode node=(TestDataTreeNode) tree.getTreeNodes().getRootNodes()[0];
String nodeName=node.getNode().toString();
out.println("nodeName"+nodeName);
Help me how to get all the node values.
Regards,
Chandu