Forum Discussion

softwarevikram's avatar
softwarevikram
Occasional Contributor
11 years ago

Outlook opens unexpectedly while break-point is used or when using debug "Watch" window

Outlook opens unexpectedly while break-point is used or when using debug "Watch" window. I'm using Microsoft Excel object for retrieving "Test Data" at framework level. Will that causes or relates in anyway to this issue? How to handle this problem? 



I would like to know soultions & suggestions from my dear professionals.
  • eac's avatar
    eac
    Occasional Contributor
    I got same issue recently and would like to know the root cause and fix solution.
  • Hi,

     


    This behavior is quite strange. Are you accessing Excel via its COM object? If Outlook is open instead of Excel when executing a test, it can mean that there are some issues with COM objects in your systems.


     

    • LoganathanD's avatar
      LoganathanD
      New Contributor

      Even I am facing this issue. How do I find out if my systems com object has problem. If so, how can I fix it?

  • softwarevikram's avatar
    softwarevikram
    Occasional Contributor
    Hopefully CreateObject("Excel.Application") statement would create or fall under COM object since everything falls under Microsoft Family!
  • chrisb's avatar
    chrisb
    Regular Contributor
    I've had issues with Outlook crashing while running tests in the Test Complete IDE. It basically becomes unresponsive and I have to kill the process manually in Windows. Often I have to restart my system to resolve the issue.  I tend to have Outlook minimized on my desktop while working in TC IDE. It happens enough to be irritating but not quite enough to take the trouble to try and capture some information to open a ticket! Next time it happens I might see if I can gather some information to open a ticket with SmartBear. I use OLE object in a couple of my test scripts to read in test data from spreadsheets. Not sure if these tests had been or were running when Outlook crashed.
  • Don's avatar
    Don
    Contributor

    Has anyone been able to figure this out. I keep getting this issue from time to time on the latest version of Test Complete