• +91 9723535972
  • info@interviewmaterial.com

QTP Interview Questions and Answers

Question - Mention the steps required in UFT to send mail from outlook?

Answer -

To send mail from outlook in UFT,

Set Outlook = CreateObject ("Outlook.Application")
Dim Message 'As Outlook.MailItem
Set Message = Outlook.CreateItem(olMailItem)
With Message
.Subject = Subject
.HTMLBody = TextBody
.Recipients.Add (aTo)
Const olOriginator = 0
.Send
End With

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners