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.
Problem integrating sahi reports(*.htm) into xls...
Hi guys, firstly let me thank the sahi development team for creating such an incredible testing tool and making it available for free ...
Here are the problems that i am facing...
1. I have written a script to check a list of urls for certain components and count them as the script proceeds. The final result of the script (PASSED/FAILED) is based on the value of these counters. On either PASS of FAIL, l am also writing the final result to an .xls file using this: _debugToFile("TEST_PASSED","C:\\test_report.xls"); Now, i want to embed the sahi log file(*.htm) for this script, into test_report.xls
I am not sure whether this is even possible.
2. Is there a way to specify the name of the sahi log(*.htm) file from inside that respective sahi script. Because I am having trouble pointing to the log file since i don't know how to specify the log file name. The current name format is as follows: sahiscriptname__date__time.htm
P.S. : I am new to SAHI and the company that I am working for is looking for a new open-source tool to automate the testing process. I have suggested SAHI but the biz. requirement dictates that the tool must have strong report generation functionality and ability to run multiple tests in batch mode. I haven't yet tried to run multiple scripts because I first have to convince the BD team about the report generating ability of SAHI. So any help in this matter would be highly appreciated.
Here are the problems that i am facing...
1. I have written a script to check a list of urls for certain components and count them as the script proceeds. The final result of the script (PASSED/FAILED) is based on the value of these counters. On either PASS of FAIL, l am also writing the final result to an .xls file using this: _debugToFile("TEST_PASSED","C:\\test_report.xls"); Now, i want to embed the sahi log file(*.htm) for this script, into test_report.xls
I am not sure whether this is even possible.
2. Is there a way to specify the name of the sahi log(*.htm) file from inside that respective sahi script. Because I am having trouble pointing to the log file since i don't know how to specify the log file name. The current name format is as follows: sahiscriptname__date__time.htm
P.S. : I am new to SAHI and the company that I am working for is looking for a new open-source tool to automate the testing process. I have suggested SAHI but the biz. requirement dictates that the tool must have strong report generation functionality and ability to run multiple tests in batch mode. I haven't yet tried to run multiple scripts because I first have to convince the BD team about the report generating ability of SAHI. So any help in this matter would be highly appreciated.
Comments
Nice to hear that you are considering Sahi as your automation tool. Its really a nice tool. Regarding your concern of running multiple tests in batch mode, then let me tell you that SAHI provides excellent support. With its multithreading capability you can run multiple tests.
For further info on this please refer the below link:
http://sahi.co.in/w/Running+multiple+tests+in+batch+mode
Regards,
Sumeet