04-22-2015, 06:05 PM
Hi all,
Can any one know how to send only Fail Results to mail
Can any one know how to send only Fail Results to mail
|
To send Fail Results to mail
|
|
04-22-2015, 06:05 PM
Hi all,
Can any one know how to send only Fail Results to mail
04-23-2015, 08:30 PM
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 |
|
« Next Oldest | Next Newest »
|
| 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,181 |
11-05-2023, 03:55 PM Last Post: lravi4u |
|
| Send automatic email notification when test run started | helmzshelmz | 0 | 1,602 |
04-03-2020, 07:54 AM Last Post: helmzshelmz |
|
| To send the QTP Results to mail using Thunderbird | Naresh | 0 | 2,751 |
04-03-2015, 03:19 PM Last Post: Naresh |
|
| PASS/FAIL in QTP | badri | 3 | 7,062 |
12-05-2014, 03:26 AM Last Post: kiranpol |
|
| How to send QTP status results to mobile | Naresh | 0 | 3,321 |
09-02-2014, 03:50 PM Last Post: Naresh |
|