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.
_include not working
Hi,
Can someone pleae tell me why _include doesnt work for me ?
These are the script files :
log.sah
function printThroughJava(s){
Packages.java.lang.System.out.println("Through Java: " + s);
}
includeTest.sah
_include(log.sah);
printThroughJava();
But nothing happens when I run includeTest.sah
Also batch run via _include script is not also working for me.
Thanks in advance.
Can someone pleae tell me why _include doesnt work for me ?
These are the script files :
log.sah
function printThroughJava(s){
Packages.java.lang.System.out.println("Through Java: " + s);
}
includeTest.sah
_include(log.sah);
printThroughJava();
But nothing happens when I run includeTest.sah
Also batch run via _include script is not also working for me.
Thanks in advance.
Comments
Enclose the file name in double quotes. For example _include("log.sah");
Cheers
dp