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.
email trigger
hi
i need to send a sample email from sahi to my gmail....but ant.mailer is not supporting it shows the following error
BUILD FAILED
C:\Java\apache\ant\apache-ant-1.8.2\lib\sample.xml:3: taskdef A class needed by
class net.sf.sahi.ant.Mailer cannot be found: javax/mail/Message
using the classloader AntClassLoader[C:\Users\sudharsan.anbu\sahi\lib\ant-sahi.
jar]
Total time: 0 seconds
i need to send a sample email from sahi to my gmail....but ant.mailer is not supporting it shows the following error
BUILD FAILED
C:\Java\apache\ant\apache-ant-1.8.2\lib\sample.xml:3: taskdef A class needed by
class net.sf.sahi.ant.Mailer cannot be found: javax/mail/Message
using the classloader AntClassLoader[C:\Users\sudharsan.anbu\sahi\lib\ant-sahi.
jar]
Total time: 0 seconds
Comments
Kindly have a look at :
http://sahi.co.in/forums/viewtopic.php?id=2465
http://sahi.co.in/forums/viewtopic.php?id=2768
Let me know if you face any problem.
Regards
Sumitra
Thanks for the rpl.....it works gud....
but i have problem while integrating sahi....how can i resolve it.
Could you please be more specific about where exactly you are faching problem while integrating with Sahi?
Regards
Sumitra
i was not able to run my batch file which contains 2 testbeds using ant,but it takes more than a hour to compile.....
Is that possible to extract the failure links alone from the logdir when i run my batch file.
Thanks,
Sudharsan.A
Can any one pls tell me,how to extract only the failure cases in logdir.
Thanks,
Sudharsan.A
Kindly check if you are getting error on Sahi's console? If so post it here.
What version of Sahi are you using?
Regards
Sumitra
Thanks for ur rpl.......sahi works fine with apache ant.
can u please tell me how to extract the failure cases alone from logdir in sahi.......
thanks,
Sudharsan.A
Its not possible to extract the failure cases alone from logdir. Instead you can use ant to send email only for FAILURE case.
Regards
Sumitra
Thanks for ur fast rpl....I'm really impressed about sahi and it works great with ant, i can send email using ant from sahi its a awesome tool.
But while sending email i just receive FAILURE MESSAGE,can u tell me how can i send the failure URLs alone while running my batch file.
Thanks,
Sudharsan.A
How do you configure the scheduler and ant task . could you please update the details? i need the same ?