How to send the qtp results file by email (Lotus notes).



How to send the qtp results file by email (Lotus notes)...

Answer / a.thirumalareddy@gmail.com

Function SendMail(SendTo, Subject, Body, Attachment)
Set ol=CreateObject("Outlook.Application")
Set Mail=ol.CreateItem(0)
Mail.to=SendTo
Mail.Subject=Subject
Mail.Body=Body
If (Attachment <> "") Then
Mail.Attachments.Add(Attachment)
End If
Mail.Send
ol.Quit
Set Mail = Nothing
Set ol = Nothing
End Function

Is This Answer Correct ?    9 Yes 8 No

Post New Answer

More QTP Interview Questions

How do u write a regular expression for date (dd/mm/yyyy) field?

10 Answers  


How do you data drive an external spreadsheet?

1 Answers  


explain keyword driven framework?

2 Answers   Mindlance,


what are the attributes of QTP?

3 Answers  


How can i learn Descriptive programming in QTP. Please reply.

3 Answers  






Hi im new in Testing..can any one plz re-write this code SystemUtil.Run "C:\Program Files\Mozilla Firefox\firefox.exe","","C:\Program Files\Mozilla Firefox","open" ----using for loop(for i=0;i<=10;i++ )

2 Answers  


how can we retrieve ten rows from the data table using loop concept?

4 Answers  


What is the pros and cons between QTP and Rational Robot

0 Answers   Virtusa,


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


how to load the *.vbs (or) test generating script in a new machine?

3 Answers   Ordain Solutions,


if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?

1 Answers   iGate,


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


Categories