Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
Unable to get the values inside a treeview using Infragistics
posted

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(

"itemProperties");

System.

out.println("node count"+tree.getTreeNodes().getRootNodeCount());

TestDataTreeNode node=(TestDataTreeNode) tree.getTreeNodes().getRootNodes()[0];

String nodeName=node.getNode().toString();

System.

out.println("nodeName"+nodeName);

Help me how to get all the node values.

Regards,

Chandu