Install Sahi Pro

goal Set up Sahi Pro to start automation
  1. Download Sahi Pro from Sahi Pro's Download Archives.
  2. Save the installation file being downloaded in an appropriate folder.
  3. Double click the downloaded installation file to initiate the installation process.
    The installation wizard will open to guide you through various stages of installation.
  4. Accept the terms of the licence aggreement when prompted.
  5. Select a suitable path to install Sahi Pro.
    warningThe folder path should not have any spaces.
  6. An alert message pops up to ask permission to create the target directory. Click OK.
  7. Follow the next steps with default selections.
  8. After the process gets completed, click on Done.

Apply Product Key

  1. Start Sahi Dashboard by any of the following methods:

    Double click on the desktop shortcut or

    Start from the command line.
    1. Windows: - Go to <sahi_root>\userdata\bin and run start_dashboard.bat
    2. Linux - Go to <sahi_root>/userdata/bin and run ./start_dashboard.sh
  2. The Sahi Pro console will appear.

    The console shows all the backend processes or commands being run by Sahi. Any current process or error will appear here.

    C:\Users\sahipro\sahi_pro\userdata\bin>SET SAHI_HOME=..\.. C:\Users\sahipro\sahi_pro\userdata\bin>if exist goto setextclasspath C:\Users\sahipro\sahi_pro\userdata\bin>SET SAHI_USERDATA_DIR=.. C:\Users\sahipro\sahi_pro\userdata\bin>SET SAHI_EXT_CLASS_PATH="../extlib/*;../extlib/support/*" C:\Users\sahipro\sahi_pro\userdata\bin>REM START ..\..\windows\bin\SahiWin.exe C:\Users\sahipro\sahi_pro\userdata\bin>CALL setjava.bat C:\Users\sahipro\sahi_pro\userdata\bin>set SAHI_JAVA_HOME=C:\Program Files\Java\jre1.8.0_202 C:\Users\sahipro\sahi_pro\userdata\bin>set PATH=C:\Program Files\Java\jre1.8.0_202\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\ant\bin\;D:\dev\bin\;C:\Program Files\Git\cmd;C:\Users\sahipro\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\jdk1.8.0_202\bin;C:\Users\sahipro\AppData\Local\Programs\Microsoft VS Code\bin C:\Users\sahipro\sahi_pro\userdata\bin>CALL ..\..\bin\dashboard.bat -------- SAHI_HOME: ..\.. SAHI_USERDATA_DIR: .. SAHI_EXT_CLASS_PATH: "../extlib/*;../extlib/support/*" -------- java version "1.8.0_202" Java(TM) SE Runtime Environment (build 1.8.0_202-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode) Apr 20, 2024 1:01:18 AM net.sf.sahi.config.Configuration reinitialize INFO: Sahi properties file = C:\Users\sahipro\sahi_pro\config\sahi.properties Apr 20, 2024 1:01:18 AM net.sf.sahi.config.Configuration reinitialize INFO: Sahi user properties file = C:\Users\sahipro\sahi_pro\userdata\config\userdata.properties Apr 20, 2024 1:01:18 AM net.sf.sahi.config.Configuration substituteBrowserProxyHostPort INFO: Created C:\Users\sahipro\sahi_pro\userdata\browser\ff\profiles\sahi0\prefs.js Apr 20, 2024 1:01:19 AM net.sf.sahi.config.Configuration substituteBrowserProxyHostPort INFO: Created C:\Users\sahipro\sahi_pro\userdata\browser\chrome\profiles\sahi0\Default\Preferences --------------------------------------------------------------------------------------------------- Please enter your product key. ---------------------------------------------------------------------------------------------------


  3. You will be prompted for the product key. You will need a valid product key to run Sahi Pro. If you do not have a valid product key yet, you can register here for a 30 day free trial.
    Enter the product key and click OK.
  4. The Sahi Pro Dashboard appears on the desktop:
outcome Congratulations! Sahi Pro is now successfully installed and ready for the use!