18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
running a .bat file by passing parameters in the sahi script.
1) when the script statement is executed
_execute("D:\\PPZ2G\\ppz2g_Automation\\src\\Batch_files\\runbbc.bat 14")
it is executed successfully.
2) whan a variable is declared and value is assigned
e.g. "$bbc= 14"
and when this variable is called in the script statement
_execute("D:\\REZ2G\\rez2g_Automation\\src\\Batch_files\\runbbc.bat bbc ");
unable to run the bbc(batch business case)
can any one throw some light on this scenario
_execute("D:\\PPZ2G\\ppz2g_Automation\\src\\Batch_files\\runbbc.bat 14")
it is executed successfully.
2) whan a variable is declared and value is assigned
e.g. "$bbc= 14"
and when this variable is called in the script statement
_execute("D:\\REZ2G\\rez2g_Automation\\src\\Batch_files\\runbbc.bat bbc ");
unable to run the bbc(batch business case)
can any one throw some light on this scenario
This discussion has been closed.
Comments
It should be : $bbc= 14;
_execute("D:\\REZ2G\\rez2g_Automation\\src\\Batch_files\\runbbc.bat " + $bbc);
Regards
Sumitra
thanks Sumitra