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.

passing the parcel

NEWUSERNEWUSER Members
edited November -1 in Sahi - Open Source
Can we do this?
I am trying to achive a modular approach of scripting. what i am trying to do is creating multiple scripts which have tests as function. Then i have a controller script which includes all these file and on controller script i am defining the over all flow of execution.
But for logging purpose i need a variable which can store path of log file even when function from other file is called.
Tagged:

Comments

  • Hey i have figured it out.
    _setGlobal(“LogFile”, path) and then using getGlobal(“LogFile”)

    Man i just love this tool.
Sign In or Register to comment.