Forum Discussion
I've attached an image of the error message box.
I've also executed TestComplete as administrator with the exact same results.
A quick google search shows that you're not the only one dealing with issues with instantiating the Outlook.Application COM object on a Windows 10 box. There are some solutions out there concerning turning off UAC and such so those are some things to try as well. Perhaps someone else has a better idea because, for whatever reason, I'm not wrapping my brain cells around this today.
Sorry. :(
- Chaste018 years agoOccasional Contributor
Good news,
This is what worked in my situation to resolve this issue, thanks for your help :)
Step-1
// Ref: http://winaero.com/blog/how-to-turn-off-and-disable-uac-in-windows-10/
Open Registry Editor
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Edit Registry key
EnableLUA value and set it to 0
Step-2Ref : https://support.smartbear.com/viewarticle/9022/
To be modified ONLY for Win10 O/S purpose
function: function isMessageReceived2010(accountName, senderEMail, eMailSubject)
Replace this line of code :
var inbox = NamespaceMAPI.Folders(accountName).Folders("Inbox");By these 2 lines of code :
var mailAcc = NamespaceMAPI.Folders(1);
var inbox = mailAcc.Folders(inboxName);Step-3
Run successfull tests.
Related Content
Recent Discussions
- 3 days agovladd1