IBM Support

Command-line parms for GUI script playback in standalone mode

Question & Answer


Question

What are the command-line paramaters to start in IBM Rational Robot script in standalone mode?

Cause

You want to run the script in stand-alone mode from the command line. The parameters and values differ from the parameters and values for IBM Rational TestManager mode.

Answer

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

The additional parameter is


/mode "StandAlone Robot"



Furthermore you must specify the project with the path of the .project file. The following example shows how to start script ClassicsA in standalone mode without producing a log. Robot closes after it finishes the playback. The project that you specify is in the form of a .project file rather than an .rsp file in TestManager mode.


rtrobo.exe "ClassicsA"

/user "admin"

/password ""

/mode "StandAlone Robot"  

/project "c:\prj\ClassicsA\ClassicsA.project"

/nolog /play /close


The following example shows how to start the script and send the results to a log.


rtrobo.exe "ClassicsA"
/user "admin"
/password ""
/mode "StandAlone Robot"  
/logfolder ""
/log "ClassicsA"  
/project  "c:\prj\ClassicsA\ClassicsA.project"  
/play /close

[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Playback","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.0.1;7.0.1;7.0.2;7.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21314386