|
|
MilindCD
Newbie
Reged: 11/01/06
Posts: 14
|
Re: How to register my COM with QTP?
08/21/07 07:00 AM
|
|
|
Hi All,
I found out the way to create intellisense in QTP.
Steps to create Intellisense in QTP:
1. Create a wsc(windows scripting component) file in the below given format:
<?xml version="1.0"?> <component>
<?component error="true" debug="true"?> <reference object="Scripting.Dictionary" /> <registration description="Functions" progid="QTP.Functions" version="1.00" classid="{d7c40957-00d4-41a5-a87b-89d1db311423}"> </registration>
<public>
<method name="Function1" internalName="Functiona1" dispid="0"> <PARAMETER name="strFileName"/> </method> <method name="Function2"> </method> <method name="Function3" > </method> </public>
</component> 2. After the file is created, register the same using regsvr32. 3. Now create the following registry entries in the path HKCU\Software\Mercury Ineteractive\QuickTest Professional\MicTest\Reserved Objects\Functions –
ProgID REG_SZ QTP.Functions UIName REG_SZ Functions
4. Restart QTP.
Thanks Milind
|
|
3 registered and 39 anonymous users are browsing this forum.
Moderator: IanFraser, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Thread views: 1022
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5
|