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.

Specify Directory in Suitefile

globalwormingglobalworming Moderators
edited November -1 in Sahi - Open Source
Hey guys

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

  • Sumitra? Narayan? Please answer.
  • Hi globalworming,

    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
  • Sorry, I meant:

    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.
  • Hi globalworming,

    I think you are talking about this post:

    http://sahi.co.in/forums/viewtopic.php?id=2305

    Regards
    Sumitra
  • No unfortunatly it's not.
    Maybe I am just remembering something wrong..
    So its not possible to have a suiteFile with

    folder1
    folder2
    etc..

    ?
  • Hi globalworming,

    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
  • Ok thanks Sumitra now I understand.
Sign In or Register to comment.