Executing tests with testexec - no scheme? [message #760431] |
Fri, 02 December 2011 06:06  |
Eclipse User |
|
|
|
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 #840698 is a reply to message #760431] |
Tue, 10 April 2012 08:04  |
Eclipse User |
|
|
|
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 08:16] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05969 seconds