Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Want to extend Jubula to work with KTable(KTable is a simple SWT Canvas extension but is not recognised in Jubula)
Want to extend Jubula to work with KTable [message #1779697] Thu, 11 January 2018 09:53 Go to next message
Stuart Ledwich is currently offline Stuart LedwichFriend
Messages: 10
Registered: November 2010
Junior Member
I have followed the instruction to create a toolkit extension but have hit the following section in the help and a bit unsure where to go next.



The class I am looking to test is a simple SWT Canvas based class. It creates a table on top of the Canvas which all input and content appears to not be visible in Jubula.




Quote:

Create the definition of your own toolkit in the file ComponentExtension.xml by choosing one or more of the following possibilities:



  1. Extend existing toolkit components with new actions,
  2. Define new components from existing toolkit components, or
  3. define a new toolkit component


Manage the i18n keys in the properties file.


I believe I need to define a new component from existing toolkit components but a small nudge in what to do next would be really helpful. Thank you!
Re: Want to extend Jubula to work with KTable [message #1780006 is a reply to message #1779697] Tue, 16 January 2018 13:18 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
Hello,

I think the best is you have a look at our rcp examples [1][2] and the documentation[3]. Or using the Extension Wizard[4]

kind regards
Marvin

[1] http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.examples.extension.rcp.toolkit
[2] http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.examples.extension.rcp.rc
[3] http://help.eclipse.org/oxygen/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/toolkitExtension/ch03.html
[4] http://help.eclipse.org/oxygen/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/extensionWizard/ch05.html
Re: Want to extend Jubula to work with KTable [message #1781006 is a reply to message #1780006] Wed, 31 January 2018 12:47 Go to previous messageGo to next message
Stuart Ledwich is currently offline Stuart LedwichFriend
Messages: 10
Registered: November 2010
Junior Member
Thanks Marvin,

I am working through the Extension Wizard, which I have now created the project, but have a quick question. I have specified in the wizard the custom control that I want to test, which all seems ok. The custom control is derived from SWT Canvas, therefore I need to add the jar to resolve the missing dependencies, but I am not entirely sure where to add this jar. Thanks
Re: Want to extend Jubula to work with KTable [message #1781103 is a reply to message #1780006] Thu, 01 February 2018 12:55 Go to previous messageGo to next message
Maximilian Reiß is currently offline Maximilian ReißFriend
Messages: 7
Registered: February 2018
Junior Member
Hi

To [1-2]:
Is there any explanation for the code there. Any kind of ducumentation for the example projects ?

To [4]
I tried to Install the Extension Wizard, but when I try, Eclipse tells me that the operation Cannot be exetuted. (s. Screenshots)

I want to create an extension for Jubula to work with Nebula widgets like Nattables.
Is there any Tutorial wich shows step by step the manual process, wich the Extension Wizard would do? Just if the problem with the Istallation cannot be fixed any time soon.

I hope this is ok to post here, if not plz tell me, fitst post ^^.

kind regards
Maxi

Marvin Mueller wrote on Tue, 16 January 2018 13:18
Hello,

I think the best is you have a look at our rcp examples [1][2] and the documentation[3]. Or using the Extension Wizard[4]

kind regards
Marvin

[1] http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.examples.extension.rcp.toolkit
[2] http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.examples.extension.rcp.rc
[3] http://help.eclipse.org/oxygen/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/toolkitExtension/ch03.html
[4] http://help.eclipse.org/oxygen/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/extensionWizard/ch05.html

Re: Want to extend Jubula to work with KTable [message #1781106 is a reply to message #1781006] Thu, 01 February 2018 13:14 Go to previous messageGo to next message
Stuart Ledwich is currently offline Stuart LedwichFriend
Messages: 10
Registered: November 2010
Junior Member
Hi Marvin,
I think I managed to sort out the dependency issue by adding the jar to the project then adding it to classpath under the runtime tab.

I have now progressed through to creating by update site and attempted to load this into the Jubula ITE. It finds my update site and attempts to load but stops with the following error:

Cannot complete the install because one or more required items could not be found.
Software being installed: KTableJubulaExt - Toolkit 1.0.0.201802011201 (KTableJubulaExt.feature.feature.group 1.0.0.201802011201)
Missing requirement: KTableJubulaExt - RC 1.0.0.201802011201 (KTableJubulaExt 1.0.0.201802011201) requires 'bundle org.eclipse.jubula.rc.swt 6.0.0.201801310939' but it could not be found
Cannot satisfy dependency:
From: KTableJubulaExt - Toolkit 1.0.0.201802011201 (KTableJubulaExt.feature.feature.group 1.0.0.201802011201)
To: KTableJubulaExt [1.0.0.201802011201]

This seems to be just unable to find the org.eclipse.jubula.rc.swt bundle, but I had assumed this would be included in the plugin or did I miss something. Thank you again for any help regarding this.
Regards,
stuart.
Re: Want to extend Jubula to work with KTable [message #1781699 is a reply to message #1781106] Mon, 12 February 2018 10:23 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
Hi Maximilian

No there is no more documentation than i provided. The extension wizard should work, but i admit that i did not test it with eclipse oxygen. With eclipse Neon it should work. I will have a a check (But this will take time)

Hi Stuart,
It seems that you have set specific requirement on bundles which are not necessary in the RC RCP. Only the Fragment host org.eclipse.jubula.rc.rcp.swt should be needed to get access to SWT components. Also the bundle org.eclipse.jubula.rc.swt is on the classpath of the rc.rcp.swt. Therefore this should work

kind regards
Marvin

Re: Want to extend Jubula to work with KTable [message #1781766 is a reply to message #1781699] Tue, 13 February 2018 08:11 Go to previous message
Maximilian Reiß is currently offline Maximilian ReißFriend
Messages: 7
Registered: February 2018
Junior Member
Thx for the reply. I got the Extension Wizard up and Runing. There was a other plugin wich I had to download with an older version.

I managed to build a toolkit with ich recognized from Jubula, but the next step I'm working on right now is to create my own Action. I know that it has to do with the Testerclass and the ComponentConfiguration.XML. I don't get what the Adapterclass is for yet, but I m on it ^^

[Updated on: Tue, 13 February 2018 10:11]

Report message to a moderator

Previous Topic:how to check multiple lines in clipboard
Next Topic:How to ensure the correct application is tested
Goto Forum:
  


Current Time: Fri Apr 26 11:18:05 GMT 2024

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

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

Back to the top