18 January 2026:


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.

rajendra_PASSrajendra_PASS Members
edited November -1 in Sahi - Open Source
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

Comments

  • SumitraSumitra Members
    Hi rajendra_PASS,

    It should be : $bbc= 14;

    _execute("D:\\REZ2G\\rez2g_Automation\\src\\Batch_files\\runbbc.bat " + $bbc);

    Regards
    Sumitra
  • rajendra_PASSrajendra_PASS Members
    edited August 2011
    Done ,

    thanks Sumitra
This discussion has been closed.