How to access objects in a Map Application (Java)

Ask general questions here.
aunal
Posts: 17
Joined: Mon Jan 16, 2012 10:25 am

How to access objects in a Map Application (Java)

Post by aunal » Tue Jan 17, 2012 1:26 pm

Hello,

We're trying to use Ranorex on a map application. We have a frame, which includes the map, which is called through an API. We can access the frame through Ranorex but we cannot access the objects in the map. Ranorex considers the whole frame (map) as a bitmap but actually it is not.

So, two questions here;

Does Ranorex access only to the components that are derived from JComponent?

Is there a way to access Java Objects in an application through Ranorex?

For the record, we have configured Ranorex with the active JRE.

My configuration is as follows:

Ranorex: 3.2.0.15301
.Net RunTime Version: 2.0.50727.3625

Java: 1.6.0-b105

O/S: Windows XP with SP3

Thank you in advance.

Regards,
Arda Unal

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

Re: How to access objects in a Map Application (Java)

Post by Support Team » Tue Jan 17, 2012 4:21 pm

Hi,
Does Ranorex access only to the components that are derived from JComponent?
No not only, we also support grids, lists and trees, custom controls are normally not supported, but please send us a Ranorex Snapshot file of your application, or even better can we get access to it?
Can you also send us some useful information about that control/map, is it a custom control, does it derive from a specific class, ...?

Regards,
Markus
Ranorex Support Team
.
Image

aunal
Posts: 17
Joined: Mon Jan 16, 2012 10:25 am

Re: How to access objects in a Map Application (Java)

Post by aunal » Tue Jan 17, 2012 9:01 pm

Hi,

Unfortunately, I cannot due to the security regulations of my company.

Map is a standard S-57 map like the one displayed in the attachment. Map is displayed in a JFrame, which is again similar to the one given in the attachment. It contains, basically, objects and vectors but I can't get a reference to an individual object displayed in the map, whole map is seen as a bitmap displayed in the frame.
Attachments
s57view.png
S-57 View
s57view.png (70.13 KiB) Viewed 765 times

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

Re: How to access objects in a Map Application (Java)

Post by Support Team » Thu Jan 19, 2012 6:12 pm

Hi,
Unfortunately, I cannot due to the security regulations of my company.
Oh that's not good, if we do not get any specific information about the objects we are not able to tell you if we can identify the objects within the map, or which steps you have to perform to make it identifiable for Ranorex.
If you do not want to post the files to the forum you can also send them via email to our support mail address, [email protected].
We can also set up a NDA for this purpose, if you want you can contact [email protected].

Regards,
Markus
Ranorex Support Team
.
Image