Micro Focus QTP (UFT) Forums
JavaTree - Not able to click final links - 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: JavaTree - Not able to click final links (/Thread-JavaTree-Not-able-to-click-final-links)



JavaTree - Not able to click final links - scsvel - 01-25-2012

Hi all,
I have a JavaTree which contains folders and links. I am able to expand and navigate upto folder level, but not able to go for links present under folder.
I tried recording of some link clicks. QTP gives all links as folder name itself.
Ex. Under System Administrator node, I have Add User link. But recorded scripts shows like below for all links under this folder. But items count is giving correctly by total tree.

Code:
Code:
JavaWindow("myWindow").JavaTree("myTree").Select "System Administrator;System Administrator"
' But I am expecting like below
JavaWindow("myWindow").JavaTree("myTree").Select "System Administrator;Add User"


So How Can I get the link's object to click?
Attached properties and methods screenshot.
[Image: 696691-Props.png]

Thanks...


RE: JavaTree - Not able to click final links - scsvel - 01-30-2012

Guys, any update?