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

Explain in brief about the qtp automation object model (aom).

0 Answers  


Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?

1 Answers  


What is the main difference between desriptive programming and generic functions

2 Answers   HCL,


In qtp, how you can remove the spaces from string?

0 Answers  


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

0 Answers  






How did you achieve reusability via QTP?

1 Answers  


how can you select random value for every iteration from a weblist

4 Answers   Microsoft,


how to invoke the web application through script in qtp

11 Answers   IBM,


In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update

3 Answers  


How can I test the unix shell in QTP

2 Answers   Persistent,


Explain qtp(quick test professional)?

0 Answers  


Do you have any knowledge about Business Processing Testing in QTP

1 Answers   TCS,


Categories