Forum Discussion

sv_sarma's avatar
sv_sarma
Occasional Contributor
13 years ago

Recording Office 2010 applications

Hi,

I am trying to record and playback office 2010 applications Winword/Excel etc. Our application is actually plugged-in to these apps.

Whenever I record on Winword or Excel, I would like to browse to file menu or any other menu and access the option. This will open our application. TestComplete is always recording these events with respect to mouse position (click event), rather than object click.



I just wanted to know, if test complete supports recording/playback on all office 2010 applications. Do I need to change the recording mode? Do I need to import any plugin to import the objects? I am just seeing that the entire menu box (all menus File, View, etc) recorded as, NETUIHWND object.



Appreciate any help!



Thanks,

Sarma

1 Reply


  • Hi Sarma,


     


    You can try adding the NETUIHWND class to the MSAA settings.


    Also, you can work with Word/Excel documents via their COM objects. Go though the "Working With COM Objects" article for more information. TestComplete provides a sample project demonstrating how to work with Excel:


    <TestComplete Samples>\Miscellaneous\MSOffice\