[SOLVED] Is it possible to use java portion of code in RCPTT test case ? [message #1711069] |
Mon, 12 October 2015 16:34 |
|
Dear all,
I have the following scenario.
It is possible to export data from a table in type format Microsoft Excel 97-2003 Worksheet (.xls)
I'd like to check in automatic way if data exported match with data in Application under test and I think to read the xls using Java.
Is it possible to mix java portion of code and RCPTT test case ?
If not have you got good tip to test it in automatic way using RCPTT ?
Thanks in advance guys.
"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
[Updated on: Tue, 20 October 2015 10:01] Report message to a moderator
|
|
|
|
|
|
Re: Is it possible to use java portion of code in RCPTT test case ? [message #1711451 is a reply to message #1711431] |
Fri, 16 October 2015 08:40 |
|
After various tentative I am able to run a test case without any errors using a jar file as Ulyana described a post before anyway in the console log regarding the AUT
C:\Users\angelo.luciani\rcpttWorkspace\.metadata\.plugins\org.eclipse.pde.core\xdm.client.rcp.xdm\console.log
I don't see the system.out.println("Hello Word") that the testhello.jar file contains.
Below the command code I'm using Windows 7
exec-process -command "\"C:\\Prog\\Java\\jdk1.7.0_75\\bin\\java\"" -args "-jar" -args "\"C:\\Users\\angelo.luciani\\workspace\\testhello\\bin\\testhello.jar\""
Where I can see the system.out.println("Hello Word") printed ?
"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
[Updated on: Fri, 16 October 2015 08:41] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03499 seconds