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

Ask general questions here.
Seungtae Kim
Posts: 3
Joined: Wed Sep 05, 2012 9:11 am

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

Post by Seungtae Kim » 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.
Attachments
java_access.rxsnp
(221.05 KiB) Downloaded 160 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

Post by Support Team » Sat Sep 08, 2012 9:49 am

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
.
Image

Seungtae Kim
Posts: 3
Joined: Wed Sep 05, 2012 9:11 am

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

Post by Seungtae Kim » Mon Sep 10, 2012 1:05 am

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.

Seungtae Kim
Posts: 3
Joined: Wed Sep 05, 2012 9:11 am

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

Post by Seungtae Kim » Mon Sep 10, 2012 7:43 am

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