Forum Discussion
Hi, there is no specific error message I am seeing, Outlook just closes with no prompts or warnings. I am using Office 2013 on a Windows 10 machine and opening Outlook via TestComplete.
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