Command Line

Top  Previous  Next

Purpose

SmarteStudio test scripts can be run from the command line.

 

Usage

The form of the command is:

cscript SeSExecutor.js [evals] path_to_sstest_file

 

where

path_to_sstest_file is a path to sstest file, e.g.  "C:\Program Files\SmarteSoft\SmarteStudio\Samples\SmarteATM\SmarteATM.sstest"

evals (optional) is a statement like this:

-eval:varname1=value1;varname2=value2;...

 

varname is a global variable associated with an option in the Settings Dialog.  Global variables are prefixed with a g_. The global variables under the Execution and Recording headings can be found by clicking on the corresponding option in the Settings Dialog (see below):

 

commandline evals

Other variables include:

g_scriptPath
g_reportPath
g_objectsPath
g_configPath

 

Exit Code

0 indicates a pass
1 indicates failure

 

See Also

Settings Dialog