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.

email trigger

sudharsansudharsan Members
edited November -1 in Sahi - Open Source
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

Comments

  • Hi Sudharshan,

    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
  • Hi sumitra

    Thanks for the rpl.....it works gud....

    but i have problem while integrating sahi....how can i resolve it.
  • Hi Sudharshan,

    Could you please be more specific about where exactly you are faching problem while integrating with Sahi?

    Regards
    Sumitra
  • sudharsansudharsan Members
    edited January 2012
    hi 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
  • hi,

    Can any one pls tell me,how to extract only the failure cases in logdir.

    Thanks,

    Sudharsan.A
  • Hi Sudharshan,

    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
  • hi 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
  • Hi Sudharshan,

    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
  • hi 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
  • mohanmohan Members
    HI sudharsan ,

    How do you configure the scheduler and ant task . could you please update the details? i need the same ?
Sign In or Register to comment.