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.
Sahi: creating suites
Hi Sahi users,
I am new to Sahi,
Exploring Sahi for the automation.
Want to run many sahi scripts in a suite.
Any pointers in creating suites?
I need this info asap.
I am new to Sahi,
Exploring Sahi for the automation.
Want to run many sahi scripts in a suite.
Any pointers in creating suites?
I need this info asap.
Tagged:
Comments
http://sahi.co.in/w/Running+multiple+tests+in+batch+mode has more details.
Let us know if you still need help.
Regards,
Narayan
One quick question regarding Test suite. Following is my test suite
java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner C:/sahi/Scripts/SahiTests/TestSuite.suite "C:\Program Files\Mozilla Firefox\firefox.exe" http://machine_name:10000/demo/ default localhost 9999 3 firefox.exe "-profile c:\sahi\browser\ff\profiles\sahi$threadNo -no-remote"
While I am running the same from c:\sahi the suite give me a following error message.
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/sahi/test/Test
Runner
do i need to set anything in CP???
Please reply
Thanks
Chetan!
or
change
java -cp ..\lib\ant-sahi.jar
to
java -cp lib\ant-sahi.jar
Wow! this is the thing which i was looking for let me run same thing with different different browsers, i will come back to you if i will found any issue in it.
Thanks a lot!
Chetan!
Im Piyush from Digite Infotech. We are using Sahi for our automation testing and we run many test suites using bat and/or ant.
Now, As we have to manually verify the logs generated by sahi for failures, and there are so many scripts, it takes lot of efforts to verify 100s of scripts.
I need a way where I can fire test suit from Java and I should be able to handle failures for any script in a particular suit. (i.e. Log only failures in my personal DB so that I can pull a report directly for failures..)
So could you please help me out.