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

Can i run the qtp, without OBJECT REPOSTIRY...

8 Answers  


How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance...

4 Answers   Navis,


Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???

4 Answers  


How u will do versioning in QTP?

0 Answers   NIIT,


If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?

1 Answers  


How we can do Batch testing in QTP?

6 Answers   Kanbay,


Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  


Where should we turn Smart Identification ON in QTP?

5 Answers  


1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?

5 Answers   STC,


I am new to automation testing.I am learning QTP 9.2.my question is how to install the defferent addins(other than Default Addins) is there any defference in QTP after installing the Addins.where we can get the addins?

0 Answers  


how to associate object repository during runtime in qtp

1 Answers   Deloitte,


WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


Categories