Micro Focus QTP (UFT) Forums
JavaCheckboxTree - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: JavaCheckboxTree (/Thread-JavaCheckboxTree)



JavaCheckboxTree - cyrus - 11-13-2009

Hi all,
I have a JavaCheckboxTree, I am able to select and expand the items via index, however, the items have an image lable at runtime, I want to select an Item at runtime via image lable. <tree>.Expand("#0;#0") works but, <tree>.Expand("top level text;fierst level under top level") gives me an error: "Tree node "top level text;fierst level under top level" was not found. <tree>.GetItem (1) gives me only "#0;#0". How can I retrieve the image lable of each node? Any Help is appreciated.

Thanks