Identify Eclipse plugin objects

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
emoneta
Posts: 1
Joined: Wed Jan 05, 2011 4:53 pm

Identify Eclipse plugin objects

Post by emoneta » Wed Jan 05, 2011 5:02 pm

We're testing several eclipse plugins.
I also need to test some of the Eclipse generic views such as the "Memory" view.
The memory view can show different tables and I want to verify the table's content.
However, The table does not have a ControlID. When I record a test, the table is identified only by relative index position (As well as all of the table's ancestors).

I've attached the plugin and spy screenshots.

Is there any way to uniquely identify the table (or a different object for other plugins)?
Because the plugin was not written by us, I don't know if I can add descriptive attributes to the table.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Identify Eclipse plugin objects

Post by Support Team » Fri Jan 07, 2011 11:57 am

emoneta wrote:the table is identified only by relative index position
You mean you want to identify the "Memory" tab page independent of its index in the displayed tab pages, right?

I can't really help you from the screenshot alone. It would be good if you could provide as a Ranorex snapshot of the whole Eclipse application when the Memory tab is opened. See following section in the Ranorex User Guide on how to create Ranorex snapshots:
http://www.ranorex.com/support/user-gui ... html#c2072

It might be possible to identify the tab page by its text. Try searching up the hierarchy of the table for the "Memory" text.

Regards,
Alex
Ranorex Team

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Identify Eclipse plugin objects

Post by Support Team » Fri Jan 07, 2011 2:26 pm

I just installed Eclipse and had a look at it.
Eclipse does not use AWT/Swing, which we support by a plugin.
Eclipse uses SWT that in turn uses native elements. So those we can see via the Ranorex Spy.
Yes, unfortunately SWT does not give the native elements ControlIds,
which means they can only be accessed via the indexes or maybe the text they contain.

Regards, Roland