Micro Focus QTP (UFT) Forums
Navigating and selecting item under a greyed out parent - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Navigating and selecting item under a greyed out parent (/Thread-Navigating-and-selecting-item-under-a-greyed-out-parent)



Navigating and selecting item under a greyed out parent - paul123 - 03-08-2010

hi,

i am unable to expand the greyed out paraent folder in QTP 10 ( with JAVA addin).
i want to select a particular item from java tree.but the parent folder for the item to be selected is greyed out.I am unable able to expand the parent item maually. i am using javatree.expand function .
when the parent folder is enabled javaree.expand is working fine.but when he folder is disabled (but expandable) javaree.expand fails

Below is the example view for the java tree , in my case.

+ folder1(greyed out)
+ folder 2 (greyed out)
+folder3 (greyed out)
item1 (enabled)

From the tree, i want to select "item1" . Could some one help please..


Thanks
paul