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.
anybody please update step by step process to send mail using sahi
anybody please update step by step process to send mail using sahi .
I found lot of threads to do the configuration. since i am not familiar with ant or jar files. please update this thread . how to configure mail in sahi?
I found lot of threads to do the configuration. since i am not familiar with ant or jar files. please update this thread . how to configure mail in sahi?
Comments
Have a look at this: http://sahi.co.in/forums/viewtopic.php?id=2768
Check if this solves your issue.
Regards
Sumitra
I read that post .
i added Jars files to extlib folders.how to verfiy this mail is working or not?
how to install ant i dont have any idea?
i modified demo.xml
any body help me to do this ..
C:\Users\Mohans\sahi\bin>java -cp ..\extlib\mail\activation.jar;..\extlib\mail
ail.jar;..\lib\ant-sahi.jar;..\lib\sahi.jar net.sf.sahi.ant.Scheduler
Usage: java net.sf.sahi.ant.Scheduler [path to scheduler.properties]
No scheduler.properties specified. Using ../config/scheduler.properties
suite_path C://Users/Mohans/sahi/userdata/scripts/153/demo1.suite
browser_exe C://Program Files (x86)//Internet Explorer//iexplore.exe
base_url http://192.168.14.153/phoenix/login.aspx
sahi_host localhost
sahi_port 9999
threads 1
browser_option null
browser_process_name iexplore.exe
suiteName = C://Users/Mohans/sahi/userdata/scripts/153/demo1.suite
base = http://192.168.14.153/phoenix/login.aspx
sahiHost = localhost
port = 9999
threads = 1
browser = C://Program Files (x86)//Internet Explorer//iexplore.exe
browserOption = ie
browserProcessName = iexplore.exe
retry_count_on_failure 1
successive_failures 1
repeat_interval_in_minutes 1
repeat_interval_on_failure_in_seconds 1
this.isSingleSession == false
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=C://Users/Mohans/sah
2Fuserdata%2Fscripts%2F153%2Fdemo1.suite&base=http%3A%2F%2F192.168.14.153%2Fph
nix%2Flogin.aspx&threads=1&sahisid=sahi_3c1232d80c4f6046ad09a2b07605f2392bd2&b
wser=C%3A%2F%2FProgram+Files+%28x86%29%2F%2FInternet+Explorer%2F%2Fiexplore.ex
browserProcessName=iexplore.exe&html=
FAILURE
Sending out email ...
smtp_host smtp.gmail.com
smtp_port 465
smtp_user ***********
smtp_password *******
email_from rammohankvp@gmail.com
email_to mohans@prophoenix.com
email_subject Sahi Tests Failed
email_content Sahi Tests Failed
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, p
ort: 465, response: -1
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1922)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:63
8)
at javax.mail.Service.connect(Service.java:295)
at net.sf.sahi.ant.Mailer.send(Mailer.java:72)
at net.sf.sahi.ant.Scheduler.sendMail(Scheduler.java:130)
at net.sf.sahi.ant.Scheduler.onError(Scheduler.java:121)
at net.sf.sahi.ant.Scheduler.rapidTest(Scheduler.java:115)
at net.sf.sahi.ant.Scheduler.execute(Scheduler.java:84)
at net.sf.sahi.ant.Scheduler.main(Scheduler.java:55)
Retrying in 60000 milliseconds
any suggestions?
Any updates... ? please help me....