| Import of xml into Jubula database by cmd [message #757122] |
Wed, 16 November 2011 10:43  |
Daniel Vala Messages: 11 Registered: October 2011 |
Junior Member |
|
|
Hi,
I have exported my project in Jubula into one xml file. I can import that file on another computer and all works fine.
Is here a way to import that file into Jubula by command? I run all my tests automatically by autagent command, but I would like to import the latest xml file with my tests first. Is that possible without opening Jubula application and import that by GUI?
Thanks
|
|
|
|
| Re: Import of xml into Jubula database by cmd [message #760807 is a reply to message #757125] |
Mon, 05 December 2011 05:39   |
Daniel Vala Messages: 11 Registered: October 2011 |
Junior Member |
|
|
Thanks, it helped. Now I am able to import database when I delete it first.
But command to delete database does not work. Database is deleted, but it stuck on deleting test results details. Even when use -keepsummary option.
vala@dan:/opt/jubula_5.2.00266/jubula> ./dbtool -delete "TopoNet" 1.0 -keepsummary -dbscheme "Default Embedded (H2)" -dbuser sa -dbpw ""
Mon Dec 05 10:30:54 CET 2011 - [main] Bundle tracker is not set
Mon Dec 05 10:30:54 CET 2011 Commandline parsing finished - performing actions...
Mon Dec 05 10:30:54 CET 2011 Database: Connecting...
Mon Dec 05 10:30:59 CET 2011 Database: Connection established.
Mon Dec 05 10:30:59 CET 2011 Deleting project "MyProject" in version "1.0"...
Mon Dec 05 10:31:10 CET 2011 Deleting of project "TopoNet" finished.
Mon Dec 05 10:31:10 CET 2011 Deleting all test result details...
It is the same on linux and on windows. User has permission to the test_results folder.
[Updated on: Wed, 07 December 2011 07:07] Report message to a moderator
|
|
|
|
| Re: Import of xml into Jubula database by cmd [message #761998 is a reply to message #761347] |
Wed, 07 December 2011 07:06   |
Daniel Vala Messages: 11 Registered: October 2011 |
Junior Member |
|
|
Sorry about confusion of project name, TopoNet is on both places.
Deleting results takes at least 15 minutes and still nothing. Where I can find test result in Jubula GUI? I thought it is html and xml result in my specified folder which I specify when I run tests from command line and there are only few files in that folder. I tried to delete them all and it was still the same. No logs at that time were recorded.
Nevertheless I reinstalled my windows, installed Jubula and imported my TopoNet project. Now it works fine. But even if I do not use option -keepsummary, html and xml files in test folder remains.
I hope it will be working in the future. If not, I get you know.
[Updated on: Wed, 07 December 2011 07:07] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02639 seconds