|
Re: Reflection component : Invoke External method [Execution Error: "java.lang.ClassNotFound] [message #1758567 is a reply to message #1758394] |
Thu, 30 March 2017 07:53 |
Eclipse User |
|
|
|
Hi Muthuk,
since there are multiple reasons for this not to work could you please answer the following questions:
- Are you executing your tests on another computer than the ITE runs on?
- Is the Jubula ITE installed into a subdirectory of C:\Program Files or C:\Program Files (x86)? There could be permission problems when Jubula tries to load a file from a subdirectory of Program Files.
Please also attach a screenshot of the properties view of your Execute External Command action.
Best regards,
Kevin
|
|
|
|
|
|
|
|
Re: Reflection component : Invoke External method [Execution Error: "java.lang.ClassNotFound] [message #1766135 is a reply to message #1765933] |
Fri, 16 June 2017 10:17 |
Milos Hroudny Messages: 24 Registered: June 2017 |
Junior Member |
|
|
Hi Marvin,
Thanks for your response. The main message is that the same jar used successfully with Swing AUT fails with RCP AUT.
The test actually does not call anything from AUT. AUT is only started to provide a context. The test starts only my external method.
I am not blocked by any rights, I am on the d:, Windows 7.
For creating jar I use Eclipse for Java Developers, neon.3.
In this test I have only one static method in the class and this method counts directories in the specified directory. No main, so exported as a normal jar (not executable).
If you would like to retest it, you can create two projects, one for toolkit Swing, second one for toolkit RCP. You can assign any Swing program and any RCP program, they only must be executable, so that you can start them.
In my project I created one more project LibraryExternalMethods, based on the toolkit concrete and I reuse this project both in Swing and RCP projects.
jar file is in ..\ite\externaljars as required. jar file is attached as well as screenshots.
In none of log files in .jubula.logs is any record from today, when I started the test.
Best Regards
Milos
|
|
|
|
Powered by
FUDForum. Page generated in 0.04592 seconds