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.

external function

sahi_nelsonsahi_nelson Members
edited November -1 in Sahi - Open Source
how I can call a function of a script from another script?


anyone can help me

Comments

  • boopathiboopathi Members
    edited October 2010
    Hi Nelson,

    Use _include to include another Script file.

    Eg:
    
    _include("your_script.sah");
    
    

    Use the above code snippet on the top of the script.

    After including the another script , you can just call a function like a normal function call.


    Thanks,
    Boopathi M
  • thanks boopathi , works perfect
This discussion has been closed.