Sahi Documentation

Plain Sahi Suites

Once a few scripts have been recorded, scripted and refactored, they need to be run in a batch mode. Sahi does this via suites.

A suite file is a normal text file with an extension of .suite. For example you may have myapp.suite.

Each line of myapp.suite will have this syntax:
<testName.sah> <(optional) absolute url or url relative to the baseurl>


eg.
test1.sah /startPageForTest1.jsp
test2.sah http://www.myappdomain.com/startPageForTest2.htm
test3.sah
//commented_test1.sah
#commented_test2.sah
test4.sah abc/startPageForTest3.htm


In the above example, note that the first and last lines use relative urls and the second line uses an absolute url. The suite can be executed through the command line or through ant.