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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can the user toggle between using Local OR and shared OR for the same action?

554


What are the major/ important methods, functions in QTP we use realtime testing

2259


What is RTM (require ment tracebulity marix) fromate?

1524


How many types of actions are there in quicktest professional (qtp)?

531


How does quicktest professional (qtp) identifies the object in the application?

579






In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1443


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1565


Explain how you can find length of array in qtp?

597


Hello friends..... On which areas of an application we can not test with QTP

1553


Is it possible to use two instances of UFT on the same machine? If not why?

595


How to creating an output value using quicktest professional?

538


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2254


How does quicktest professional identifies the object in the application?

549


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2465


How to do call a output parameter from one action to another action??/

1870