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.

Run batch file

vikkyjainvikkyjain Members
edited November -1 in Sahi - Open Source
Hi ,

I was able to run a batch file using _execute command,
But i am not able to see logs.
My batch file is having following command "java -jar myFile.jar".

When i execute batch file, it will execute the jar file and i want to see logs of jar file.
So is it possible to see logs ??

Vikky

Comments

  • narayannarayan Administrators
    Use:

    var $result = _execute("x.bat");
    _alert($result);

    Regards,
    Narayan
  • Hi Narayan,

    Its working fine.
    Thanks for your response.

    Vikky
This discussion has been closed.