Micro Focus QTP (UFT) Forums
SAPGuiTree Navigation to child objects - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: SAPGuiTree Navigation to child objects (/Thread-SAPGuiTree-Navigation-to-child-objects)



SAPGuiTree Navigation to child objects - Sreedevi - 06-05-2009

Hi,

I want to navigate in the SAPGuiTree from a parent object to a specific child object or a node. Ex:
Code:
SAPGuiSession("").SAPGuiTable("").SAPGuiTree("").Object

In this case there may be many parent objects like Parent1 object:

SAPGuiTree
+Parent1 manager
+Child1 sales rep
+Child2 acc exe
+Child3 sales rep
+Parent2
+Child1 sales rep
+Child2 acc exe
+Parent3

The focusedNodeKey can be got but not able to navigate down or up as Sendkey or Type methods do not work.
Please suggest me how to navigate or how to select a specific node in this tree structure.

Regards,
Sreedevi.