Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.

Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com

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

AkshadaAkshada Members
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,
  • 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
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
  • Akss004Akss004 Members
    edited March 2016
    Ignore posted multiple times by mistake
Sign In or Register to comment.