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.

How do I create 'SahiDocs' from Sahi Scripts

gjeleegjelee Members
edited November -1 in Sahi - Open Source
I am looking for a way to create Sahidocs in Eclipse like we would create Javadocs for existing Sahi scripts and new scripts. Can anyone who has done this, tell me how I can achieve this. If it is not in Eclipse what other ways I can do this. Thanks.

Comments

  • narayannarayan Administrators
    Hi gjelee,

    Sahi script is like javascript, so you can use jsdoc to generate your docs.

    You can follow the instructions given here: http://code.google.com/p/jsdoc-toolkit/wiki/OtherTools
    And use this in the "Arguments" section
    -jar jsrun.jar app\run.js "D:\Dev\Sahi\sahi_pro\userdata\scripts" -t=templates\jsdoc -d="D:\jsdocs" -a -r=10 -v -x=sah -E=apis.sah
    

    Change the scripts path and output directory according to your setup.

    Regards,
    Narayan
  • Thanks Narayan
This discussion has been closed.