CLI Execution

Just like scripts the suite XML files may be also passed to Robot through the -r/--run CLI option. This will start Robot, execute the workitem and exit. There are two modes:

  • The GUI mode (default) opens the Robot's GUI, loads the workitem, executes it and exits. Parallel scripts will be executed sequentially. The start command:

<Robot_start_command> -r <schedule_XML>

  • The CLI mode is triggered by the -n/--nodisplay option. It is recommended for production deployments. As it will not open the GUI it has much lower memory requirements and it is faster. It is also suitable for executions started remotely over telnet or ssh. If the workitem contains parallel scripts they will be started in parallel. The command:

<Robot_start_command> -n -r <schedule_XML> 

If the workitem requires input parameters use the -v/--variable (read-only variable) or --variable-session (read-write variable) CLI options to set them.