简体   繁体   English

无法使用UFT检索javatree中的节点名称

[英]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. 为了从Teamcenter应用程序中的Java树获取节点名称值,我遇到了问题。

When I am recording the javatree its getting recorded as javawindow().javatree().expand “;” 当我记录javatree时,其记录为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. 我正在尝试使用对象属性在javatree上使用本机方法,但无法弄清楚如何使用本机方法。

I tried using .object.getitem,object.getitems,object.getchildren but was unsucessful to retrive the name of the node value. 我尝试使用.object.getitem,object.getitems,object.getchildren,但未成功检索节点值的名称。

Please help me out. 请帮帮我。

Thanks, Mayank 谢谢,玛雅妮克

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

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

methods works 方法有效

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM