Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Problems with extensions and rebuilding some jars.(The main goal - to reach tree inside table on Swing app.)
Problems with extensions and rebuilding some jars. [message #1086143] Tue, 13 August 2013 21:56 Go to next message
Danila Pod is currently offline Danila PodFriend
Messages: 19
Registered: January 2013
Junior Member
Unfortunately we got a lot of tree inside tables in our swing app. Jubula out of the box says "render not supported" after try to read text from the cell.
Our developers uses high-level framework, and they don't know how to get sources of apps gui.
The only one thing they know - that it's standard swing tree inserted in standard swing table, with root placed in 1-1 cell.

I downloaded jubula sources from git, and started investigating them. And i found that, method getCellText takes object from cell first and calls method to getText with possible exception about "render not supported".
Hmm... Idea: I can take the object from cell, and made on it tree operation!

Way No. 1:
Change jTableAdapter, jTableTester, and provider.concrete.
I changed all projects to maven,
Maven -> Update project..,
org.eclipse.jubula.releng -> run -> maven clean,
org.eclipse.jubula.releng -> run -> maven install.
I've got jar, and i tried to replace old ones in plugins folders.
!!! After start of Jubula half of views and perspectives became broken.
By logs, i understood that issue is in SHA1 signature, but i still don't understand how to pass it.

Way No. 2:
To make extension.
I took jslider example and tried to remake it with my methods. Build successful, Jubula loads without any error in log, but i can't see my new methods for table in Add Test Step dialog, in concrete/swing project.

Which way is better for my goals?

PS: I already have no signatures in rc.common, rc.swing, rc.swt. Where else i should delete them?
PSS: I can attach projects, jars, classes, poms here. Should i archive in zip them?
Re: Problems with extensions and rebuilding some jars. [message #1086399 is a reply to message #1086143] Wed, 14 August 2013 06:55 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Danila,

I'm going to admit that I can't help on this one Wink

Perhaps you could forward the question to the jubula-dev list?

Thanks!
Alex
Re: Problems with extensions and rebuilding some jars. [message #1128469 is a reply to message #1086399] Mon, 07 October 2013 18:27 Go to previous messageGo to next message
Danila Pod is currently offline Danila PodFriend
Messages: 19
Registered: January 2013
Junior Member
Yes, we got it! Smile
Now we have methods that can read the whole row, with content of trees inside tables.
(ctrl+c, read system clipboard, return value to Jubula's variable)
And after it you can just match it with your patten and find needed row.
Also i had found great a little bit hidden method - getRowCount. I don't know, why you didn't included it in blue test-steps, but it's very useful method.
And we added check and get color on 3 color channels under cursor.

I hope i will have time to make a little guide about it. Smile

[Updated on: Mon, 07 October 2013 18:38]

Report message to a moderator

Re: Problems with extensions and rebuilding some jars. [message #1130433 is a reply to message #1128469] Wed, 09 October 2013 14:54 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Danila,

Thanks so much for the update! Pleased that it is working now Smile
If you do do a guide, let us know and I'll link to it.

Best regards,
Alex
Previous Topic:Jubula takes longer to save the changes
Next Topic:Missing 'org.eclipse.jubula.feature' for target platform
Goto Forum:
  


Current Time: Fri Apr 26 00:58:05 GMT 2024

Powered by FUDForum. Page generated in 0.07434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top