The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP/Mercury QuickTest Pro

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

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* How to register my COM with QTP? MilindCD 07/11/07 06:08 AM
. * * Re: How to register my COM with QTP? Tarun LalwaniModerator   07/11/07 01:51 PM
. * * Re: How to register my COM with QTP? MilindCD   07/11/07 10:24 PM
. * * Re: How to register my COM with QTP? Tarun LalwaniModerator   07/11/07 10:38 PM
. * * Re: How to register my COM with QTP? MilindCD   08/21/07 07:00 AM
. * * Re: How to register my COM with QTP? Patterson_Consulting   07/11/07 01:49 PM

Extra information
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

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5