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.
Automatic email sending when a script finished execution as suite file
I want an email to be send to my email-id automatically by sahi controller after my sahi script is run (i scheduled to run the sahi script as a batch/suite from my machine everyday).
I search the forum for this solution.. but coudn't find any.
Pl advise.
george
I search the forum for this solution.. but coudn't find any.
Pl advise.
george
Comments
pl help me on this matter...
i changed the mail from & mail to .. in the config.propertis file also.. but no result.
george
Here is the explanation to send an email after the execution of the script.
Firstly you need to have the Activation jar file, mail jar file and Java Secure Socket Extension jar file. Download the above jar files from the below URL and should be copied into the Ant lib directory.
http://www.vincentkong.com/2008/12/sending-email-with-ant
Use the below ant target in any of the xml file:
The target file for "failsahi" and "sahipass" are as below.
Now, navigate to the xml file and run runsendmailtests ant target using:
ant -f demo.xml runsendmailtests
Let me know if you face any problem.
Regards
Sumitra
Can you please look at this :
http://groups.google.com/group/sahi/browse_thread/thread/ce9cb8843ce91037?pli=1
Check if this solves your issue.
Regards
Sumitra
please use this url for
http://blog.vincentkong.com/2008/12/sending-email-with-ant
could you please expalin me about the scheduler configuration and also about using ant targets. i need to know how to configure ant and sahi.