Micro Focus QTP (UFT) Forums

Full Version: SAPGUI table tree control and QTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am trying to automate a Click link method for SAPGUI table tree control. Code looks something like this:

Code:
SAPGuiSession("Session").SAPGuiWindow("Edit Incident/Claim Management").Maximize
SAPGuiSession("Session").SAPGuiWindow("XXX").SAPGuiTree("TableTreeControl_2").ClickLink "MVI","00000000000000034234"

Is there a way to get the value of the link from the datatable? Reason being there are other links to be processed from the datatable. How do you combine the link method with a value from datatable.

Is there another way to accomplish this? Any help would be appreciated.

Thanks
Can any one please help with this as it is very urgent? Is there a way to code this?
Chk below link...modify as per your need.

http://automatingsap.blogspot.in/2012/10...h-and.html

Regards,
Ankesh
Hello Ankesh,

I tried the code that you have mentioned for clicking table tree control in sapgui but that errored out. Is there another way of doing this. Any help would be appreciated.

Thanks