Forum Discussion

pavan_manikonda's avatar
pavan_manikonda
Occasional Contributor
11 years ago

TestComplete Plugin VC++

I am trying to develop a plugin for testcomplete in vc++. I am using testcomplete 9 SDK for my development. The documentation to create a simple plugin has inhered from base classes IaqExtensionRegistrator and IaqBasePlugin.



The document says "Each TestComplete plug-in must implement the IaqBasePlugin interface". Where should I get these interface references from ? I couldn't find these classes in any of files in "TestComplete 9\SDK\MSVC" folder.



Any help is appreciated.
  • Hi,



    It is my understanding that the interface definition, like a lot of other things, becomes available after adding this directive

    #import "C:\Program Files\SmartBear\TestComplete 9\Bin\TestComplete.exe" raw_interfaces_only, raw_native_types, named_guids, auto_search, no_namespace, exclude("tagRECT", "UINT_PTR")

    to the stdafx.h as it is recommended in the Simple Plug-In Sample>Creating the Project help topic.
  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi,



    It is my understanding that the interface definition, like a lot of other things, becomes available after adding this directive

    #import "C:\Program Files\SmartBear\TestComplete 9\Bin\TestComplete.exe" raw_interfaces_only, raw_native_types, named_guids, auto_search, no_namespace, exclude("tagRECT", "UINT_PTR")

    to the stdafx.h as it is recommended in the Simple Plug-In Sample>Creating the Project help topic.