Forum Discussion

mttsow's avatar
mttsow
Occasional Contributor
6 years ago

problem with TestComplete and Outlook 2010

Hi I am having problem with TestComplete and MS Outlook 2010. I am trying out the example in TC Document.  It only go as far as the 3 line, where it calls Sys.OleObject("Outlook.Application"); an...
  • LinoTadros's avatar
    6 years ago
    Use WaitProcess() to check if Outlook is already running, if it is, get the process object and go about your business
    If it is not running, only then do a Sys.OleObject call against the Outlook.Application
    This behavior has been on and off with different versions of Outlook over the years
    Simply put, you can only have ONE instance of Outlook running

    Cheers
    Lino