Knowledge Base Article

Home Page > Knowledge Base > Rapise

Article Passing Parameters to a Rapise script through the command line

by Adam S on Friday, November 2, 2012

This article describes the syntax for passing parameters from the Windows 32-bit command-line to a Rapise script. Note that you need to make sure that you're using the 32-bit command line on a 64-bit machine. I.e. follow the instructions in this KB article -

Consider this sample Rapise script (Sample Command Line Test.sstest):

function Test()

You should use the following command-line syntax to run the test:

cscript "c:\Program Files (x86)\Inflectra\Rapise\Engine\SeSExecutor.js" "Sample Command Line Test.sstest" "-eval:g_testSetParams={g_variable1:'hello',g_variable2:'goodbye'};"

(which passes the values 'hello' and 'goodbye').

The results will be saved in the "last.trp" report file.


Article Info
Last Updated: 11/2/2012
Article ID: KB26
# Views: 2806
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.