ContributionsMost RecentMost LikesSolutionsRe: Windows10 operating system with Oulook2013 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-2 Ref : 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. Re: Windows10 operating system with Oulook2013 I've attached an image of the error message box. I've also executed TestComplete as administrator with the exact same results. Re: Windows10 operating system with Oulook2013 Like previously indicated, I had tested with Outlook 2013 - 32 bit also, and I had reproduced the exact same error has with the 64 bit version. The code that we are running and that is causing this problem was taken from your web site (https://support.smartbear.com/viewarticle/9022/). Like said, it works fine except when working on Windows10. For permissions, how can I check whether or not TC instance on my Windows 10 machine is running as admin ? Re: Windows10 operating system with Oulook2013 The 2012 R2 is in fact running Outlook 2013 - 32 bit. Please note that I've tried running the test on another Windows10 machine, this time with Outlook 2013 - 32 bit and I still have the same error. function isMessageReceived2010(accountName, senderEMail, eMailSubject) { var OutlookApplication = Sys.OleObject("Outlook.Application"); It stops on this line of code. with Outlook 2013 - 32 and 64 bit. This seems to occur only if running on Windows10 ! Re: Windows10 operating system with Oulook2013 Outlook is 64 bits Additional log : Possible reasons: - An error or warning occurred during the test run. See the preceding log entries to locate and identify the error. - The test run was stopped manually. - The test run was terminated as a result of the Runner.Halt method call. Windows10 operating system with Oulook2013 I'm having a problem on Windows10 operating system with Oulook2013. For your information, I'm also running the exact same code on our Win2012R2 server with Outlook2013 and no problem occurs, everything is working fine. function isMessageReceived2010(accountName, senderEMail, eMailSubject) { var OutlookApplication = Sys.OleObject("Outlook.Application"); var NamespaceMAPI = OutlookApplication.GetNamespace("MAPI"); In execution, it stops (crashes) at : var OutlookApplication = Sys.OleObject("Outlook.Application"); Error: JScript runtime error Could you please help us out and find a solution to this important problem ? Regards Stéphane Re: TestComplete is regularly causing Outlook to crash. Is there a solution for this? I'm having the same problem, it seems to be a problem with Windows10 operating system with Oulook2013. For your information, I'm also running the exact same code on our Win2012R2 server with Outlook2013 and no problem occurs, everything is working fine. function isMessageReceived2010(accountName, senderEMail, eMailSubject) { var OutlookApplication = Sys.OleObject("Outlook.Application"); var NamespaceMAPI = OutlookApplication.GetNamespace("MAPI"); In execution, it stops (crashes) at : var OutlookApplication = Sys.OleObject("Outlook.Application"); Error: JScript runtime error Could you please help us out and find a solution to this important problem ? Regards Stéphane