Community
Participate
Working Groups
When the parameter -h is entered for the test executor (i.e. testexec.exe -h), the parameter information appears, but is below two error messages listing the missing arguments (see screenshot). It also takes a while for the information to appear. It seems as though the -h option is trying to start a test which would also explain the error message(s).
Created attachment 189948 [details] Command line output
Fixed with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=b38bcb6e1315514ca6396b7e266715a048bff91e Passing the '-h' option leads to the pure help text for the choosen application without invoking the commandline run itself. Affected are the dbtool as well as the testexecutor. That also means that if the '-h' option is present even with additional / and or complete other options the commandline run will not continue.
'testexec.exe -h' does not create any errors anymore: K:\guidancer\Workspace\hu_snapshot\current\platforms\win32.win32.x86\guidancer>testexec.exe -h usage: testexec [-autconfig <autconfig> | -autid <autid>] [-c <configfile>] -datadir <datadir_path> [-dbpw <password>] [-dbscheme <scheme>] [-dburl <database>] [-dbuser <user>] [-h] -language <language> [-n] -port <port_number> -project <project_name> [-q] [-r] -resultdir <resultdir> [-s] -server <hostname> [-startserver <port_number>] -testjob <testjob> | -testsuite <testsuite> [-timeout <timeout>] -version <project_version> -autconfig <autconfig> AUTConfiguration to be used for test execution -autid <autid> AUT ID to be used for test execution -c <configfile> The configuration file for the batch job -datadir <datadir_path> Directory containing external test data and local scripts -dbpw <password> Database password -dbscheme <scheme> Database scheme name -dburl <database> The connection URL to your database -dbuser <user> Database user name -h Displays this help text -language <language> Language to use for the AUT -n Loads the job and checks for specification errors without actually running any tests -port <port_number> Portnumber [1024-65536] of the AUT Agent -project <project_name> Project to be loaded -q Disables console output -r Use this option to mark this execution as non-relevant for export with the project (non-relevant results are not exported with the project). -resultdir <resultdir> Name of the directory to store the test results -s Disable automatic screenshots for test execution errors. -server <hostname> Hostname to run the AUT Agent -startserver <port_number> Wait on a port for receiving test execution data -testjob <testjob> Test Job to execute -testsuite <testsuite> Test Suite to execute -timeout <timeout> Abort the run after this many seconds. -version <project_version> Version of project to be loaded