Sahi Documentation

Sahi Pro SAP Add-on

abstract Getting started for automation with Sahi Pro SAP Add-on Automation.

Prerequisites

  1. Java 1.8 or above is needed for running Sahi Pro.
  2. Microsoft Visual C++ Redistributable 2008 x86 or Microsoft Visual C++ Redistributable 2010 x86.
    • Verify the installed version of Microsoft Visual C++ Redistributable as follows:

    • Open Add and Remove Programs and look for Microsoft Visual C++ Redistributable.
    • The installed versions will be listed there.
  3. Microsoft .NET framework v4.5+.
    • Verify the installed version of Microsoft .NET framework as follows :

    • On the Start menu, choose Run.
    • In the Open box, enter regedit.exe
    • In the Registry Editor, open the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
  4. SAP GUI scripting interface must be installed.

Download Sahi Pro SAP Add-on

Download Sahi Pro and Sahi Pro SAP Add-on from Sahi's download archives.
Install Sahi Pro into a folder without spaces in its path. Then install Sahi Pro SAP Add-on into the same folder as Sahi Pro. Sahi Pro SAP Add-on needs a separate license from Sahi Pro. You will need a valid license to run Sahi Pro SAP Add-on. If you do not have a valid license yet, you can register here for a 30 day evaluation license.

Install Sahi Pro SAP Add-on

Installing using Configure page

  • Click on the Configure link on the Dashboard. It will open up Sahi's configuration page. Select the Update Sahi Pro link on the left panel.

  • Click on the Install SAP Add-on link
  • info Sahi will automatically restart to make sure the changes are reflected.


    Installing using Jar

    1. Double click on install_sahi_pro_sap_xxx.jar to start the installer. If Java is configured properly, it will launch the installer.


      info If the installer does not launch, or if the jar file is opened as if it is a zip file, cancel the unzip dialog, open a command prompt, cd to where the file is downloaded, and run
      java -jar install_sahi_pro_sap_xxx.jar
    2. infoSahi Pro SAP Add-on must be installed in the same folder as Sahi Pro is installed. For example, if Sahi Pro is installed at C:/<username>/tools/Sahi_Pro, then install Sahi Pro SAP Add-on also at C:/<username>/tools/Sahi_Pro.
    3. Add Product Key in Sahi Pro's product key popup window. Sahi SAP Add-on needs a valid Product Key to be available inside userdata\config\productkey.txt (create if needed).
    4. If the Product Key is valid, Sahi will startup fine and you will be able to access Sahi.
      infoSince Sahi Pro v7.5.0, there is no need to have Sahi Pro license for the automation with Sahi. Sahi Pro Browser capability can be disabled by unchecking the Browser checkbox. One needs to add Product Key based on Sahi capabilities enabled.

    Start Sahi Dashboard

    Start Sahi Dashboard by any of the following methods
    1. Double click on the desktop shortcut
    2. or
    3. Start from the command line.

      - Go to <sahi_root>\userdata\bin and run start_dashboard.bat
    warning Browser Icons will not be present on Sahi dashboard, if Sahi Pro Browser Capability is disabled.
    info If Sahi Pro SAP Add-on is installed at correct location, SAP IconandSAP Iconwill automatically appear on Sahi dashboard.
    Also Enable SAP Automation link or Disable SAP Automation link will automatically appear on Sahi dashboard.


    Automating SAP GUI applications

    Sahi Pro SAP Add-on provides support for SAP GUI applications. Overall usage of Sahi Pro remains the same.
    If you are not familiar with Sahi Pro, go through the Sahi Pro Quick Tutorial.