HOW WE CAN SEND EMAILS USING LOTUS NOTES WITH TEST PARTNER?
Thanks in Avdance
TestPartner does not generate emails with any email application. You will need to write your own program to execute that.
"I think when you spread the wealth around, it's good for everybody." -- Toledo, Ohio, Oct. 12, 2008
I was able to send email using a function I found on the internet called vbSendMail. You have to download and install a couple of dll's to get it to work. Documentation is decent.
Try downloading the TPCommandBuilder and installing it. That thing helps with DB connections, among other things...very useful.
Here is our function we use to send email:
Sub funcSendEmail(Subject, Body, SendTo, From)
Dim iMsg As Object
Dim iConf As Object
Dim strbody As String
'Assign default values for arguments
If From = Null Then
From = "firstname.lastname@example.org"
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
iConf.Load -1 ' CDO Source Defaults
Set Flds = iConf.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Set .Configuration = iConf
.To = SendTo
.CC = ""
.BCC = ""
.From = From
.Subject = Subject
.TextBody = Body
Kind of a work around but it looks like IBM offers a CLI Lotus notes, which you could call via the shell command... http://www.alphaworks.ibm.com/tech/NotesCliEmail