Consider this sample Rapise script (Sample Command Line Test.sstest):
function Test()
{
Tester.Message(g_variable1);
Tester.Message(g_variable2);
}
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.