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.

Trying to integrate with eclipse ide problem

rajeshrajesh Members
edited November -1 in Sahi - Open Source
hi,

first of all i have to thank your team for such a big support. i hav learned lot of things about sahi tool with only help of forums. now for my new project, client asked us go with the opensource automation tool. So i then recommended sahi and selenium.

now i plan to give sahi POC demo to client. If this demo succeeds , same tool we will in future for our all projects in this account.

So far i have developed framework with script writing, everything.. finally stuck up with only one thing.

let me explain my process flow here,

As narayanan said , i hv downloaded eclipse ide and done the settings as below url mentioned

blog.sahi.co.in/2009/06/configuring-eclipse-for-sahi.htm

afterthat, clicking start sahi button i am getting below message.. but sahi tool not opening up..

i want sahi tool to be open once the scirpt starts executioin and browser also automatically open .

pls do the needful for this...

pls find the sahi messsage in eclipse console

SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
Sahi properties file = C:\Documents and Settings\560622\sahi\config\sahi.properties
Sahi user properties file = C:\Documents and Settings\560622\sahi\userdata\config\userdata.properties
Added shutdown hook.
>>>> 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 Controller
Reading browser types from: C:\Documents and Settings\560622\sahi\userdata\config\browser_types.xml
Firefox 4 was not found at C:\Program Files\Mozilla Firefox 4.0 Beta 7\firefox.exe
Safari was not found at C:\Program Files\Safari\Safari.exe
Chrome was not found at $LOCALAPPDATA\Google\Chrome\Application\chrome.exe
Opera was not found at C:\Program Files\Opera\opera.exe

regards,

Rajeshkumar

Comments

  • Hi

    as a can tell from your output, Sahi starts properly. Do you want to get to the Dashboard? Then change your settings from executing start_sahi or sahi.sh or whatever you use to the start_dashboard. Or do you mean the Sahi controller?

    Please explain further what you expect to happen when you start Sahi or what means you want to take to execute a script.

    Regards
    Womri
  • rajeshrajesh Members
    Hi

    thanks for your reply..

    Now i am getting one more message.

    after open the Demo folder in my project.. i click start_sahi in eclipse ide. Now i am getting a File messager with titled as "please input a value"

    my script is not running now..

    Kindly help me on this..

    My ultimate thing is , i wnt to execute sahi scripts without open controlller , i want to open browser (IE or FF) throught sahi sciprt.... Thats all

    regards
    rajesh
  • rajeshrajesh Members
    Kindly reply anyone please....
  • Hi,

    I had faced similar issue previously. Check /sahi/config/browser_types and the corresponding file configured for your sahi.
    Also check the name tag (<name>firefox</name> ) matches with what you have specified in eclipse.

    Hope this helps.. :) :)

    Regards,
    Akshada
  • rajeshrajesh Members
    HI

    WHat i have to check in Browser_types?


    Where i have to check the name tag in eclipse. I am not specifying any name tag in eclipse...

    Please give me eloborate solution

    regards,
    rajesh
  • Hi Rajesh,

    I guess eclipse calls the browser with its name. So if your name tag contains 'firefox", the same should be specified in eclipse(where the browser is called).

    Regards,
    Akshada
Sign In or Register to comment.