Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

How do i run Sahi scripts (.sah) from Eclipse??

edited November -1 in Sahi - Open Source
Hi Narayan,

I have recorded scripts in Sahi (.sah).
I am planning to automate those using Eclipse (So that i can change them dynamically!!)
How do i run .sah files directly in Eclipse???

Somebody please guide me through this.....

Thanking you in advance!!

Regards,
Akshada

Comments

  • Akshada,

    hi - did you get a reply on this?

    im sure using some magic, people could get this going, but for now, all we use eclipse to edit the
    sahi scripts with functions and parameters.

    eclipse, once configured correctly, displays the sahi method's or built in functions - as intellisense would.

    once complete, save the file with .sah, as a normal sahi script, and then run this using Sahi.
    A normal playback...

    sahi reads javascript - and if coded in, will read the files and data to populate the functions within your test.

    I speak under correction - but this is the method i applied within my framework.
    hope this helps.

    cheers,
    Suveer
  • Hi Akshada/SuveerP

    You guys got any solution for this??
    If yes please share.

    Thanks
  • No.
    Instead record all the scripts in JAVA and run those.
  • Hi Akshada,

    I am not clear with your statement, please elaborate it.

    Thanks,
  • Administrators
    Hi,
    Sahi also supports scripting in Java language. Scripts made in Java can run on Eclipse IDE.

    Also, we are about to release an Eclipse plug-in for Sahi Pro which will allow you to record/playback sahi scripts(.sah files) on the Eclipse IDE.

    Regards.
  • Any update on running SAHI from Eclipse IDE? It will make life easier.
  • Pratyush,

    Do you know when Eclipse plug-in will be made available? It will help us to speed up scripting and debugging?

  • Hello ,

    I have found this .... it has detailed information about configuration steps required for executing SAHI scripts from Eclipse IDE.

    http://www.tricktesting.com/2015/03/configure-sahi-with-eclipse-to-write.html

    Hope it helps.

    Thanks,
    Akash
  • edited March 2016 Members
    Ignore posted multiple times by mistake
  • edited March 2016 Members
    Ignore posted multiple times by mistake
  • edited March 2016 Members
    Ignore posted multiple times by mistake
  • edited March 2016 Members
    Ignore posted multiple times by mistake
  • edited March 2016 Members
    Ignore posted multiple times by mistake
  • edited March 2016 Members
    Ignore posted multiple times by mistake
  • edited March 2016 Members
    Ignore posted multiple times by mistake
Sign In or Register to comment.