Couldn't track a Java application's GUI that inherited
Posted: Wed Sep 05, 2012 10:25 am
Hello,
Recently, we developed some java application and have a problem with Ranorex Spy tracking.
Developing program has own GUI which created by Java Swing class. When we track a builded GUI some interface, Spy tool couldn't return a xPath of full range.
For example, I tracked a child node of tree UI, but its result is just appeared to upper class level.
/form[@title~'^INAS\ EMS\ Client\ \(\ V1\.2\.13']/container[@type='EPanel']/container[@type='ESplitPanel']/element/container[@type='WPanel']/element/element/element/element[@name='trvEMSTreeView']/element/container/container/element[@type='EGroupTreeView$4']
(it would be more longer length of xPath. EgroupTreeView has many nodes.)
We noticed that we could get a correct xPath when its UI class is inherited by twice.
If specific java class is inherited more than twice, Its instance couldn't track by Spy tool.
How can we got a full xPath of more than two times inherited java UI class.
Thank you.
Recently, we developed some java application and have a problem with Ranorex Spy tracking.
Developing program has own GUI which created by Java Swing class. When we track a builded GUI some interface, Spy tool couldn't return a xPath of full range.
For example, I tracked a child node of tree UI, but its result is just appeared to upper class level.
/form[@title~'^INAS\ EMS\ Client\ \(\ V1\.2\.13']/container[@type='EPanel']/container[@type='ESplitPanel']/element/container[@type='WPanel']/element/element/element/element[@name='trvEMSTreeView']/element/container/container/element[@type='EGroupTreeView$4']
(it would be more longer length of xPath. EgroupTreeView has many nodes.)
We noticed that we could get a correct xPath when its UI class is inherited by twice.
If specific java class is inherited more than twice, Its instance couldn't track by Spy tool.
How can we got a full xPath of more than two times inherited java UI class.
Thank you.