Ask a Question

Outlook fail testcomplete: Server execution failed, ClassID: {0006F03A-0000-0000-C000-000000000046}

NH
Regular Visitor

Outlook fail testcomplete: Server execution failed, ClassID: {0006F03A-0000-0000-C000-000000000046}

Hello, 

I am trying to read outlook emails in testcomplete but I am getting this error when running my script:

Server execution failed, ClassID: {0006F03A-0000-0000-C000-000000000046} 

 

This is the function I am running and getting the above error with the first line:

let Outlook = Sys.OleObject("Outlook.Application");
let mapi = Outlook.GetNamespace("MAPI");

Log.Message("openOutlook");

 

I tried closing outlook before running the script and running testcomplete as admin, but neither has worked. 

Is there a solution for this error, or is there another method to reading outlook emails in testcomplete?

2 REPLIES 2
sonya_m
SmartBear Alumni (Retired)

Thanks for your question @NH.

 

Hi @anupamchampati @Mr_Bro @tphillips ! Any ideas how to solve this? Thank you🙂


Sonya Mihaljova
Community and Education Specialist

Mr_Bro
Frequent Contributor

Hi @NH ,

please follow the steps and let me know if this solved your issue.

steps:

  • kill the Outlook application using task manager as sometimes the outlook will be running in the background.
  • check the version of outlook being installed on your system
  • run the same version of TestComplete (TC x86 version should be launched if to match with outlook 32 bit)
cancel
Showing results for 
Search instead for 
Did you mean: