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 to store the script name into variable in script itself

santosh.kandesantosh.kande Members
edited November -1 in Sahi - Open Source
Do we have any function to store current script name into a variable in the current script itself.

or we need to hard code. Can any one reply ASAP.

Thanks in Advance..

Comments

  • Hi

    there is the _scriptName() API, just use $scriptName=_scriptName();

    Regards
    Wormi
Sign In or Register to comment.