Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To send Fail Results to mail
#1
Hi all,

Can any one know how to send only Fail Results to mail
Reply
#2
if the test step is failed call one more function in failed case and create a fail testcase report same like passed/failed and store it in a specific location. one location for combination of pass and failed and one location for failed only....

Code:
public function mail() Set MyApp = CreateObject("Outlook.Application") Set MyItem = MyApp.CreateItem(0) 'MailItem With MyItem .To = "test@test.com" .Subject = "test" .ReadReceiptRequested = False .HTMLBody = "A Fail created!" '.display 'SendKeys "%{s}", True 'Type alt+micEnter .Attachments.Add("attach fail location file. ") .Send End With End function
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 1,178 11-05-2023, 03:55 PM
Last Post: lravi4u
  Send automatic email notification when test run started helmzshelmz 0 1,601 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  To send the QTP Results to mail using Thunderbird Naresh 0 2,750 04-03-2015, 03:19 PM
Last Post: Naresh
  PASS/FAIL in QTP badri 3 7,059 12-05-2014, 03:26 AM
Last Post: kiranpol
  How to send QTP status results to mobile Naresh 0 3,318 09-02-2014, 03:50 PM
Last Post: Naresh

Forum Jump:


Users browsing this thread: 1 Guest(s)