Page 1 of 1

Couldn't track a Java application's GUI that inherited

Posted: Wed Sep 05, 2012 10:25 am
by Seungtae Kim
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.

Re: Couldn't track a Java application's GUI that inherited

Posted: Sat Sep 08, 2012 9:49 am
by Support Team
Hello,

I have seen that you use the version 3.2.0 of Ranorex. Would you please update Ranorex at least to the version 3.2.3.
Which Java version do you use?

Regards,
Bernhard
Ranorex Support Team

Re: Couldn't track a Java application's GUI that inherited

Posted: Mon Sep 10, 2012 1:05 am
by Seungtae Kim
Hello, Support Team.

I used 3.2.0.15301 version of Ranorex, as you said. But It had a same result with version 3.3.2.19144
And .NET Runtime version is 4.0.30319.1

My java version is below.

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

Thank you.

Re: Couldn't track a Java application's GUI that inherited

Posted: Mon Sep 10, 2012 7:43 am
by Seungtae Kim
Hello, Support team.

I tracked java application's GUI correctly by upgrading Ranorex and JRE.
Its combination was as below.

Our products JRE version : 1.60.30
Ranorex referencing JRE version : 1.60.35
Ranorex version : 3.3.2.19144

As your help, we can forward to next automation project.
Thank you for your helps.

Best regards
Seungtae Kim, Dasan Networks