18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Write values in file
Hi,
Do you know a way to write some result values of Sahi's scripts in a specific file ? I need to read them with AutoIT then...
Any idea ?
Thanks,
Pierre
Do you know a way to write some result values of Sahi's scripts in a specific file ? I need to read them with AutoIT then...
Any idea ?
Thanks,
Pierre
Comments
http://sahi.co.in/w/_debugtofile
Can we have a look at the piece of code where u r writing to the file?
Regards,
Pankaj.
[code]_debugToFile(
I expect that you must be getting some weired characters in the log file along with the text "DEBUG".
Try using .sah as the extension for the file. this will resolve the problem. it seems to be due to different encoding used there.
And use _debugToFile("DEBUG", "C:\\filename.sah") -- use double forwardslash..
If the problem is different do let us know.
Regards,
Pankaj.