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.

Help pls

aihm09aihm09 Members
edited November -1 in Sahi - Open Source
Im new in testing..and I impressed with the demo..I try to do it in my PC.. but i cant no longer proceed..in the cmd error appeared that "The system cannot find the path". Wherein I save the xtract sahi in drive c...Tnx

Comments

  • Hi,
    check if java is installed or not and the system variables are set properly.

    Regards,
    Pankaj.
  • aihm09aihm09 Members
    I already installed java..and the enxt error appereared after c:\sahi\bin\sahi
    java is not recognized as an external or internal command, operable proram or batch file..many thanks for the help..Im sorri im really new in tetsing world and im still on the process of learning everything..
  • lepierrotlepierrot Members
    edited June 2008
    Try to go to the directory with ' cd c:\sahi\bin ' , press Enter and then type ' sahi '...?
    The cd command allows you to reach a specific directory. Once in it, you can successfuly type 'sahi', (which will in fact execute sahi.bat)

    :)
  • narayannarayan Administrators
    You need to add C:\your_java_dir\bin to your system's PATH variable. Only then will "java" be recognized.

    Right click "My Computer" -> Properties -> Advanced -> Environment Variables -> Under System Variables, select "Path" and click on "Edit" -> Append ;C:\your_java_dir\bin; at the end of the existing value.
    Click OK to exit the dialogs.

    Then open a new command window (Start->run->cmd)
    Type "java -version" without quotes.
    You should see your java version. If not you made some mistake in the last steps.
  • If he just launch sahi.bat, no need to ass java to windows environment variable, am I wrong ?
  • narayannarayan Administrators
    Unless you have specified the full path of java (like C:\java\java) inside sahi.bat, you will need it.
Sign In or Register to comment.