Forum Discussion

Damon_Wang's avatar
Damon_Wang
Occasional Contributor
12 years ago

How to recognize outlook calendar item

I'm using TestComplete 9 for my GUI automation. I would like to click specific event item in the Calendar. I have added the wndclass into MSAA object, but it doesn't work. BTW my outlook is 2010.

How can I do that? Anyone knows?

3 Replies

  • Hi Damon,



    Outlook's Calendar view doesn't have accessibility information, that's why MSAA identification doesn't work for it. Text Recognition plug-in may give better results.



    But what are you trying to do in the first place (for example, get event properties or delete an event)? Maybe it can be done using Outlook's scripting object, Outlook.Application.
  • Damon_Wang's avatar
    Damon_Wang
    Occasional Contributor
    Thank you for your reply. You're right, Outlook Application is powerful enough for my current requirements. Would you mind to providing me more detail about Text Recognition plug-in?

    I also found I'm able to regconize outlook by MASS for 2013, but 2010.
  • Would you mind to providing me more detail about Text Recognition plug-in?


    Text Recognition is an extra object identification engine, just like MSAA. You can read more about it here.



    To enable Text Recognition for some object, add its WndClass to Tools > Current Project Properties > Open Applications < Text Recognition.



    I also found I'm able to regconize outlook by MASS for 2013, but 2010.


    Most likely, Outlook 2010 and 2013 use different UI object types. That's why GUI automation techniques that work for 2010 may not work for 2010, and vice versa.

    The Outlook.Application scripting object is the most version-independent way to work with Outlook.