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.
_setFile does not allow variables
I am using _setFile as below:
var $tmp = "C:\\My_Data\\oldenv.txt";
_setFile(_file("attachment_file_1"), $tmp);
When I run the script that includes the above code, I get a blank screen on my browser.
Is this a bug or is there some other way to pass a variable to _setFile?
Tim
var $tmp = "C:\\My_Data\\oldenv.txt";
_setFile(_file("attachment_file_1"), $tmp);
When I run the script that includes the above code, I get a blank screen on my browser.
Is this a bug or is there some other way to pass a variable to _setFile?
Tim