Attach Run Results with Email Notificatification
I did setup to execute QTP script thru QC and also once the script execution is complete QC sends an email notification to the group.
Can you please help me how can I attach "Test Results" to that email so that group will get it? Is this doable?
Thanks in advance
Re: Attach Run Results with Email Notificatification
using QTP it can be done nad here is the piece of code.
set mail_object =Createobject("outlook.application")
set mail_item = mail_object.createitem(0) 'New Compose
mail_item.subject="QTP Result-Test Name"
mail_item.attachment.add("Path of the result file .res")mail_item.send
set mail_item =Nothing