The Fabasoft app.test Console Player offers the possibility to start tests directly from the command line using apptest-consoleplayer.jar.
You need a configuration file where you define the test and run settings. Duplicate the wanted apptest-config file and add the execute attribute (denoting the path to the test file) to the Run tag.
In the command line you can also overwrite values that have been set in the configuration file (or define all needed information directly in the command line without using a configuration file).
For starting the Fabasoft app.test Console Player you have to enter the following command into the command line:
java -jar apptest-consoleplayer.jar -config:"<path to configuration file>" [-verbose:true]
Beside defining the path to the Fabasoft app.test Console Player Java file, the following parameters can be set:
Here you enter the path to the configuration file which specifies the settings for starting a test file.
By using the verbose parameter, you can define if an output should be shown in the command line. Per default it is set to false. If you want to see an output on the console (which means all executed steps and their success are shown), you have to set the parameter to true.
Furthermore, you can overwrite the settings defined in the configuration file.
When you start the Fabasoft app.test Console Player you can also overwrite the settings defined in the configuration file. You can overwrite the attributes by using the following syntax.
This means that there is the possibility to define all needed information directly in the command line which means you could set the parameters for starting a test in the console instead of defining a configuration file. But when using a configuration file, you have a better oversight of the values and you can reuse it (and just overwrite some parameters when starting a test).
java -jar apptest-consoleplayer.jar