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.
Couldn't track a Java application's GUI that inherited
-
- Posts: 3
- Joined: Wed Sep 05, 2012 9:11 am
Couldn't track a Java application's GUI that inherited
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Couldn't track a Java application's GUI that inherited
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
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
-
- Posts: 3
- Joined: Wed Sep 05, 2012 9:11 am
Re: Couldn't track a Java application's GUI that inherited
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.
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.
-
- Posts: 3
- Joined: Wed Sep 05, 2012 9:11 am
Re: Couldn't track a Java application's GUI that inherited
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
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