SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    May 2009
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    IntelliSense for QTP Class - With no admin rights

    I was inspired by the article written by Anshoo Arora for creating intellisense for my QTP class
    Ref:
    http://relevantcodes.com/intellisens...ss-in-6-steps/

    It was a nice article, but when i tried to implement this, i figured out that it requires admin rights on my machine to register dll using regasm.

    As a workaround, I developed attached tool that I have been using to register components & dll with no admin right.

    Purpose of this tool is to demonstrate following

    1) How to convert vbscript class's properties & functions to C# dlls

    2) Register them @ HKCU level

    3) Enable qtp intellisense

    First sheet in workbook explains the working of the utility

    Just thought of sharing this approach as a workaround in case you do not have admin rights to register your custom dlls.
    Attached Files Attached Files

  2. #2
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    you could have posted this in Donate a user defined function to this topic
    ------------
    Chikki
    when things gets harder ,the harder gets going

  3. #3
    Advanced Member Anshoo Arora's Avatar
    Join Date
    Oct 2007
    Location
    New Delhi, India
    Posts
    635
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    Avinash, great work. I'm sure it will be very helpful to a lot of people.

    I also wanted to add that, if you implement an interface to your class and mark it with ClassInterface attribute, you won't see the additional methods (Equals, GetHashCode, GetType and PrintLog).
    Regards,

    Anshoo Arora
    Relevant Codes

  4. #4
    Member
    Join Date
    May 2009
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    Thanks Anshoo.

    I also realized that current version works correctly only with XL2003 because Application.FileSearch has been deprecated in XL2007 onwards.

    I will post the updated version to support XL2007 and will also include your suggestion in that.

  5. #5
    Member
    Join Date
    Apr 2012
    Location
    Chennai
    Posts
    137
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    Great Work ... overhelmed

  6. #6
    Member
    Join Date
    May 2009
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    Attaching the updated version to support XL2007+
    Attached Files Attached Files

  7. #7
    Junior Member
    Join Date
    Oct 2012
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    Hi,

    First of all; an amazing workaround to get intellisence.

    Unfortunately I didn't get it working. I am able to compile the example class. Also I am able to register all the entries in HKEY_CURRENT_USER (checked it with regedit) by using the button 'Register' & 'Enab QTP intellisence'.

    As soon as I try to click 'Test my DLL' Excel return a 429 error 'ActiveX component can't create object'. If I neglect it and open QTP I can see that the object 'LoginClass' is listed but no methods and attributes are shown using the dot.

    Please advice. Hope to hear from you soon and thanks in advance. Kind regards, thegibbon

  8. #8
    Member
    Join Date
    Sep 2012
    Posts
    36
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IntelliSense for QTP Class - With no admin rights

    knowledgeinbox.com ... Test Automation HP QuickTest Pro

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.57%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:50 AM.

Copyright BetaSoft Inc.