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.

Unable to start sahi

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

I am new to this tool and forum. I have downloaded the latest version of Sahi, and also have the latest JDK installed on my machine, but when I try to run the sahi.bat file I get the following error.

C:\Sahi\bin>sahi.bat
SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
Sahi properties file = C:\Sahi\config\sahi.properties
Sahi user properties file = C:\Sahi\userdata\config\userdata.properties
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Cont
roller
Cannot run program "tasklist": CreateProcess error=2, The system cannot find the
file specified

Can you please clarify how to go about this.

Thanks in Advance,
Nkrissh

Comments

  • narayannarayan Administrators
    Hi,

    That error will cause you problems only when running suites. You should be able to record and playback via the Controller normally.

    What Windows version are you on? Could you run tasklist on a normal command window and see if it is available? If not you will need to download PSTools http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx and modify sahi/config/os.properties to specify where to find PSTools.

    It will be helpful if you can paste the contents of the Info tab on the Controller. We can guide you from there.

    Regards,
    Narayan
Sign In or Register to comment.