Unable to retrive node name in javatree using UFT

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Unable to retrive node name in javatree using UFT



I am facing problem in order to take the node name value from java tree in teamcenter application.



When I am recording the javatree its getting recorded as javawindow().javatree().expand “;”



Name is not specified as property value for any of the nodes.



I am trying to use native methods on javatree using object property but not able to figure out how to use the native methods.



I tried using .object.getitem,object.getitems,object.getchildren but was unsucessful to retrive the name of the node value.



Please help me out.



Thanks,
Mayank





Please provide information of: what have you already tried? the code that is not working? What error are you seeing. Consider reading information on "how to ask good quality questions" before posting a question.
– Alexey Kamenskiy
Nov 29 '17 at 7:42




2 Answers
2



JavaWindow().JavaTree().Select "#0"



JavaWindow().JavaTree().Select "#0;#0"



methods works



I have the same question. I don't want to select the item, i want to retrieve name of an item in the tree.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = ”

CRM reporting Extension - SSRS instance is blank

Keycloak server returning user_not_found error when user is already imported with LDAP