Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Javatree Problem
#1
Not Solved
Hi,
I am working on PLM Automation Teamcenter. I need your help for the following problem

I want to select or expand the nodes from javatree :
Code:
Set objSearchTree =  JavaWindow("MyWorkListWindow").JavaTree("MyWorkListTree")
objSearchTree.Select sNodeName  ' To select node sNodeName  
objSearchTree.Expand sNodeName   'To expand node sNodeName

The above code fails to select and expand,because passing nodename doesnt work.
It works well if indexes are used e.g #0:#0 but it wont be feasible.
Can you please suggest alternative methods.

Thanks in advance.
Reply


Messages In This Thread
Javatree Problem - by Omkar87 - 02-28-2012, 01:24 PM
RE: Javatree Problem - by inborntester - 02-29-2012, 12:56 AM
RE: Javatree Problem - by sshukla12 - 03-02-2012, 03:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to access name of a node in a javatree in UFT ? saniya 0 1,784 07-25-2018, 06:00 PM
Last Post: saniya
Question JavaTree - Not able to click final links scsvel 1 3,014 01-30-2012, 03:34 PM
Last Post: scsvel
  JavaTree perplexed 7 10,678 06-22-2011, 04:08 PM
Last Post: Pindaruk1

Forum Jump:


Users browsing this thread: 2 Guest(s)