18 January 2026:


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.

Regarding Create Folder

arunbalaarunbala Members
edited November -1 in Sahi - Open Source
Hi thr,
i jus tried to create a folder if it does not exists. I tried with following codes.
var $file = new java.io.File("C:\Documents and Settings\Arun.B\Bugs");

if($file.exists()==false)
{
$file.mkdir();
_alert("Directory Created");
}
else
{
_alert("Directory is not created");
}

Here, i got the validation MSG(_alert)"Directory Created". But am not able see that created folder in that path.

Pls help, Thnx
Sign In or Register to comment.