Micro Focus QTP (UFT) Forums
Automating Outlook - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Automating Outlook (/Thread-Automating-Outlook)

Pages: 1 2


RE: Automating Outlook - PrabhatN - 04-11-2011

I searched in registry and found the following things (Please refer to attached screen shot, Could not see Outlook.Application)


I consulted with my system admin and he asked me to try it in another machine. I tried there and got the same error. So he has to say Outlook may get corrupted in one machine, not all.

Do we need to change some setting options in QTP so as to work with outlook?

On another front, does QTP support any other mail client so as to by pass using outlook (Resolving outlook issue would be great but just in case we can not)


RE: Automating Outlook - basanth27 - 04-11-2011

Screenshot explains. You have outlook express and not outlook on your machine. Install MS OUTLOOK on your machine and your code should work.


RE: Automating Outlook - PrabhatN - 04-11-2011

Thanks Vasant. And i am sorry to all for i should have mentioned earlier that i have Outlook Express and not MS OUTLOOK. Bad tester i am.


RE: Automating Outlook - basanth27 - 04-11-2011

The name is Basanth Smile .You dont have to be sorry as you have actually discovered something new for yourself. Aah BTW, have you ever considered sending email through outlook express? If so, you must learn about CDO and MAPI.


RE: Automating Outlook - Jiju8621 - 09-08-2012

In that case, Why dont you try opening the Outlook in Safe mode,
Run-->(outlook /safe) copy this command directly and enter it on your machine it should work
or try
Run--> (outlook /resetfolders)
And try automating the Outlook ie send test email

If these doesn't work , there is Hot fix to this from Microsoft which i can provide you
Im probably answering to the question which is too old.. But if it is helpful to you ... do let me know