3.32.2 Parameters for the dbtool

  1. Once you have browsed to the Jubula installation directory and entered "dbtool", you can enter the parameters for the Database actions.
  2. The dbtool uses the parameters described in the table 2:


    Table 3.2: Parameters for the dbtool
    Detail Parameter
    Help "-h"
      Gives parameter help
    Delete Project "-delete <project-name project-version>"
      e.g. -delete ''ExampleProject'' 1.0
    Delete All "-deleteall"
      e.g. -deleteall
    Keep test result summaries "-keepsummary" (optional)
      e.g. -keepsummary
    Directory "-directory <directory path>"
      e.g. -directory ''D:/Test/Projects/''
      The directory for imports and/or exports
      The directory must already exist
    Export Project "-export <project-name project-version>"
      e.g. -export ''ExampleProject'' ''1.0''
      Existing files with the same name will be overwritten
    Export All "-exportall"
      e.g. -exportall
      The directory for the export all must be empty
      The directory must already exist
    Import Project "-import <import-file>"
      e.g. -import <ExampleProject.xml>
    Workspace "-data <path to workspace>"
      e.g. -data ''C:/Users/Test''
      The Jubula workspace with the preference
      settings for the Database connection
    Database scheme "-dbscheme <scheme>"
      e.g. -dbscheme ''Oracle''
    Database username "-dbuser <username>"
      e.g. -dbuser ''myusername''
      Use "sa" (without quotes) for
      the embedded Database .
    Database password "-dbpw <password>"
      e.g. -dbpw ''mypassword''
      Use <empty> ("''''"
      for the embedded Database
    Database URL (optional) "-dburl <URL>"
      e.g. -dburl ''db.example.de''
      If no URL is given, the default will be used.


  3. You can use the parameter "-keepsummary" to specify that the test result summaries should not be deleted when the Project or Projects are deleted. This is useful for continuous integration processes, where the test results over time should be kept, but the Projects are reimported into the Database (for example from the version control system) each night. If you do not enter this parameter, the summaries will be deleted with the Projects .

    \includegraphics[height=2cm]{lightbulb} If you are using the embedded Database , see the section on using the embedded Database with the Test Executor for information on which username and password to use 3.31.3
    .

  4. Once you have entered all the necessary parameters, press »ENTER«.



Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.