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.
Not able to Create and Write the data in a CSV file
Hi,
I tried to write CSV file using the following command. but i found that the file is not being created in the specific path.
do i have to change any security settings, permissions, ActiveX controls setting etc...
var $data = [ [2, 3, 5], [1, 2, 4], [4, 3, 7] ];
_writeCSVFile($data , "D:\Test\ex.csv", true, ",");
Please help
I tried to write CSV file using the following command. but i found that the file is not being created in the specific path.
do i have to change any security settings, permissions, ActiveX controls setting etc...
var $data = [ [2, 3, 5], [1, 2, 4], [4, 3, 7] ];
_writeCSVFile($data , "D:\Test\ex.csv", true, ",");
Please help
This discussion has been closed.
Comments
It should be:
var $data = [ [2,3,5], [1,2,4], [4,3,7] ];
_writeCSVFile($data , "D:/Test/ex.csv", true, ",");
OR
_writeCSVFile($data , "D:\\Test\\ex.csv", true, ",");
Regards
Sumitra
Yes, it is working now. Thanks for helping
Regards,
Vatsan