Executing tests with testexec - no scheme? [message #760431] |
Fri, 02 December 2011 11:06 |
|
Hi again,
I need to run tests with the testexec command line utility. Problem is, that I always get the following error:
No Database Connection is available for name "JubulaPostGreSQL". Available names: Default Embedded (H2)
I execute testexec like this:
testexec.exe -project "YUCAS" -version "13.0" -autconfig "Application@localhost" -dbscheme "JubulaPostGreSQL" -dbuser "jubula" -dbpw "test" -server "53.118.51.20" -port "60000" -language "de_DE" -testsuite "Login" -datadir "C:\Users\ahadi\.jubula\configAreas\jubula\5.2.00266" -resultdir "C:\Users\ahadi\Desktop\Test\Results" -n
In the forum I've read that the -datadir parameter should be the workspace path. I tried C:\Users\ahadi\.jubula\configAreas\jubula\5.2.00266 and C:\Users\ahadi\.jubula\.
Anyone an idea, why the dbscheme is not found?
Thanks in advance,
Amir
|
|
|
|
Re: Executing tests with testexec - no scheme? [message #760434 is a reply to message #760432] |
Fri, 02 December 2011 11:16 |
|
OK sorry, I didn't see that parameter.
Now I tried it like this:
"C:\Program Files (x86)\jubula_5.2.00266\jubula\testexec.exe" -project "YUCAS" -version "13.0" -autconfig "YUCAS-EWPWAS2-JUnit@Toshiba" -dbscheme "YUCON Jubula PostGreSQL" -dbuser "jubula" -dbpw "test" -server "53.118.51.20" -port "60000" -language "de_DE" -testsuite "Login" -data "C:\Users\ahadi\.jubula" -datadir "C:\Users\ahadi\Desktop\Test\Data" -resultdir "C:\Users\ahadi\Desktop\Test\Results"
I also tried to set the -data parameter to C:\Users\ahadi\.jubula\configAreas\jubula\5.2.00266
but still no success for me.
EDIT: OK guys, the problem was BKAC. Wrong path to the workspace.
[Updated on: Fri, 02 December 2011 12:04] Report message to a moderator
|
|
|
|
|
|
Re: Executing tests with testexec - no scheme? [message #840698 is a reply to message #760431] |
Tue, 10 April 2012 12:04 |
Stefan Mertins Messages: 11 Registered: March 2012 |
Junior Member |
|
|
Hi,
I have the exact same problem, but can not solve it. I use a mySql db and can access it over the jubula UI. But I want to use the testexec to execute the tests.
I used the -data parameter like this: -data C:\"Program Files (x86)"\jubula_1.2\workspace
But everytime I run the command it says just:
!!Error occurred !!
No Database Connection is available for name "Jubula_MySQL". Available names: Default Embedded (H2)
I also tried to copy the workspace to c:\workspace because the path has some spaces in it. But the error still occurs.
Any hints how to solve this?
meddins
[EDIT]
Ok solved it now aswell. I always started the command from my user folder with an absolute path to the testexec and workspace folder. The command created everytime a new workspace folder in my user folder.
To solve it, I executed the command from the path the workspace is in and it worked.
[Updated on: Tue, 10 April 2012 12:16] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03835 seconds