QTP Script to get count of number of drafts in outlook application
Set a = CreateObject("Outlook.Application")
Set b = a.GetNameSpace("MAPI")
Set c = b.GetDefaultFolder(16)
msgbox(C.Items.Count)
QTP Script to get count of number of sent mails in outlook application
Set a = CreateObject("Outlook.Application")
Set b = a.GetNameSpace("MAPI")
Set c = b.GetDefaultFolder(5)
msgbox(C.Items.Count)
QTP Script to get count of number of emails in Outbox of outlook application
Set a = CreateObject("Outlook.Application")
Set b = a.GetNameSpace("MAPI")
Set c = b.GetDefaultFolder(4)
msgbox(C.Items.Count)
QTP Script to get count of number of deleted items in outlook application
Set a = CreateObject("Outlook.Application")
Set b = a.GetNameSpace("MAPI")
Set c = b.GetDefaultFolder(3)
msgbox(C.Items.Count)
Showing posts with label number of emails in Outbox and number of deleted items in outlook application. Show all posts
Showing posts with label number of emails in Outbox and number of deleted items in outlook application. Show all posts
QTP Script to get count of number of drafts,number of sent mails,number of emails in Outbox and number of deleted items in outlook application
Subscribe to:
Posts (Atom)