Creating the COM Object

The COM object was created using the Microsoft Visual Studio 2005 wizard, accessed by selecting Project > Add Class. In the left pane, choose ATL. In the right pane, select ATL Simple Object and click Add. The following details were entered to create the new ATL Simple Object class:

  • Short Name: CTEASampleTestableImp

  • Class: CTEASampleTestableImp

  • Coclass: TEASampleTestableImp

  • Interface: ITEASampleTestable

  • ProgID: TEASample.TEASampleTestableImp

    The wizard generated the CTEASampleModule class (for the ATL support for the project) and the following files:

    • TEASampleTestableImp.h

    • TEASampleTestableImp.cpp

    • TEASampleTestableImp.rgs

    • TEASample.idl

    These files are located in the <UFT One Testing Extensibility installation folder>\samples\QuickID\<Visual Studio version>\src folder)