How to send QTP test results to an email...(with out using
Quality Center)?
Answer Posted / freak
Function SendMailOutlook(strMailto, Subject, Message,
strMailfrom)
'Create an Outlook object
Dim Outlook 'As New Outlook.Application
Set Outlook = CreateObject("Outlook.Application")
'Create e new message
Dim Message 'As Outlook.MailItem
Set Message = Outlook.CreateItem(olMailItem)
With Message
'You can display the message To debug And see state
'.Display
.Subject = Subject
.Body = Message
'Set destination email address
.Recipients.Add (strMailto)
'Set sender address If specified.
Const olOriginator = 0
IfLen(strMailfrom) > 0 Then .Recipients.Add
(strMailfrom).Type = olOriginator
'Send the message
.Send
End With
End Function
Is This Answer Correct ? | 7 Yes | 10 No |
Post New Answer View All Answers
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
Is it possible to use two instances of UFT on the same machine? If not why?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
What is synchronization? What are the ways you can synchronize?
How does quicktest professional identifies the object in the application?
What is an object repository?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
If you are testing a web application then what will you test in that application?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Why is action split used by qtp?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
in my application,validation message has in japanise language.how to validate this message is appears properly or not