cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to find root node for tree object using TestLeft

New Contributor

Unable to find root node for tree object using TestLeft

I'm trying to identify the tree object for my application. When I find the object using TestSpy, it only returns the object identification for whole panel but not the tree object. It returns class name like below.

"com.ac.desktop.module.mvc.view.AbstractTreeView$InternalJTree" 

 How can I identify root node of the tree and thus corresponding nodes.

 

 

2 REPLIES 2
New Contributor

Re: Unable to find root node for tree object using TestLeft

Any updates?

Community Hero

Re: Unable to find root node for tree object using TestLeft

Hi,

 

a) Every object in TestLeft is identified by the FullName property, but not the class name;

b) You should be able to traverse back object's hierarchy using the 'parent' property. The root object for desktops has 'Sys' name.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
Update to TestLeft 2.3
Labels