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.
Specify Directory in Suitefile
globalworming
Moderators
Hey guys
i tried to set a folder in the suitefile
test.suite:
Regards
Wormi
I know there already is a topic for that... but I could not find it -.-
i tried to set a folder in the suitefile
test.suite:
script1.sah
./test/
Now I get an error in the logs " [pathtofolder]/./test does not exist" but when I check [pathtofolder] it's there and contains a script.sah. Does someone know what I did wrong?Regards
Wormi
I know there already is a topic for that... but I could not find it -.-
Comments
In Sahi, a folder with n number of scripts and a suite file is treated as a suite file itself.
You cannot run a suite file inside another suite file. It is not supported yet.
Regards
Sumitra
I've got a directory containing n scripts.. and I want a suite file to point to this directory to execute all containing scripts. There was a post somewhere in the forum where narayan says how to execute all scripts in a folder.. but I can't find that post via forum search.
I think you are talking about this post:
http://sahi.co.in/forums/viewtopic.php?id=2305
Regards
Sumitra
Maybe I am just remembering something wrong..
So its not possible to have a suiteFile with
folder1
folder2
etc..
?
If the folder1 and folder 2 consists of .sah scripts then Sahi will consider that as a suite file.
So in turn that means, you are trying to run a suite file within another suite file which is not supported right now.
Regards
Sumitra