How to insert screenshot on to the body of outlook?
-1 how to use insert-picture tab in new email outlook to
insert image in the body.
Suggest something.......
Answer / sanjay kardile
Hello,
You can try the below code. Hope this is help full.
Set objOutlookMail = CreateObject("Outlook.Application")
Set myMail = objOutlookMail.CreateItem(0)
myMail.Display
Set myMailProperty = objOutlookMail.ActiveInspector
If myMailProperty.IsWordMail = "True" Then
Set myDoc = myMailProperty.WordEditor
' Insert text and Image in the body of the email
myDoc.Range.InsertBefore Chr(13) + "First line of the text at the bottom of the Image" + Chr(13) + " Second of the text at the bottom of the image"
myDoc.InlineShapes.AddPicture "C:\PrintScreen.png"
myDoc.Range.InsertBefore "First line of the text at the top of the Image" + chr(13) + "Second line of the text at the top of the Image" + Chr(13)
myMail.To = "someone@someone.com"
myMail.Subject = "This Mail is from QTP. "
myMail.Send
End If
Set myMail = Nothing
Set objOutlookMail = Nothing
Set myDoc = Nothing
Is This Answer Correct ? | 0 Yes | 0 No |
WHY U CHOOSE TESTING FIELD?
In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.
banking project description for software tester
Hi All, Can anyone provide me the license for QTP 9.5.... My Email ID: khanbro@rediffmail.com
can somebody send the script to write a multiplication table in notepad through qtp
Can any one please explain hwo to test client/server application using QTP?
write the vb script for call to new action in qtp?
Where we save all scripts in the QTP
5 Answers Ordain Solutions, Sathya Technologies,
how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks
Did u use check points during ur work experience ?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
What’s the QTP testing process?