Steps to Reproduce
cmd.exe
cscript "C:\Program Files (x86)\Inflectra\Rapise\Engine\SeSExecutor.js" "C:\Users\myuser\Documents\My Rapise Tests\MyTest1\MyTest1.sstest"
Sympthoms
After running the command above you get
CScript Error: Execution of the Windows Script Host failed. (0x80020102)
How to Fix
The issue is just that you need to be running the 32-bit command-prompt to run the script.
So instead of typing just "cmd" or "cmd.exe", you need to use:
%windir%\SysWoW64\cmd.exe
Then it will work correctly.
For example:
%windir%\SysWoW64\cmd.exe
cscript "C:\Program Files (x86)\Inflectra\Rapise\Engine\SeSExecutor.js" "C:\Users\myuser\Documents\My Rapise Tests\MyTest1\MyTest1.sstest"
In one line:
%windir%\SysWoW64\cmd.exe /C cscript "C:\Program Files (x86)\Inflectra\Rapise\Engine\SeSExecutor.js" "C:\Users\myuser\Documents\My Rapise Tests\MyTest1\MyTest1.sstest"
Also you can simply run 32-bit version of "cscript" like this
%windir%\SysWoW64\cscript.exe "C:\Program Files (x86)\Inflectra\Rapise\Engine\SeSExecutor.js" "C:\Users\myuser\Documents\My Rapise Tests\MyTest1\MyTest1.sstest"