RIATest Documentation Copyright © RIATest.com

RIATest command line parameters

/b --batch Batch mode, no GUI. Usefull for running from command line, from batch files and from build tools. Usually combined with /r and /p to run a project.
/e number Maximum error limit for scripts execution, 0 - no error limit. If specified number of errors is encountered the execution is aborted.
/l launch-action Set launch action. Either one of predefined actions: default,ie,firefox or a command line to execute (e.g. "cmd.exe /c")
/o output-file-name Write output messages to specified file. Only has effect if combined with /b parameter.
/p path-to-project-file Open the specified project in IDE or run it if combined with /r
/r Run the project specified by parameter /p
/t seconds Maximum execution time in seconds. If execution takes longer than specified seconds it is aborted.

Exit codes

When executed in batch mode riatest.exe returns the following exit codes:

0 Success. Also returned when no errors are encountered during execution of tests.
1 Nothing to do. Happens if you use /b without /r
2 Invalid command line parameters
3 Invalid output file specified (or cannot open specified file)
4 Cannot open specified project file
5 Errors encountered during execution of scripts.
6 Timed out waiting for agent connection
7 Agent unexpectedly disconnected.
8 Aborted due to execution time limit violation
9 Aborted due to error count limit violation
>=127 Other errors