SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    SQA Knight bklabel1's Avatar
    Join Date
    Sep 2012
    Location
    Kew Gardens, United States
    Posts
    2,596
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    2 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0

    is intellisense watching previous lines?

    QTP 11.

    I have Set objExcel = CreateObject("Excel.Application") on one line.

    5 lines later I type

    Set oNewWorkBook = objExcel.Workbooks.

    Intellisense shows the correct list of methods and properties.

    I comment out the CreateObject line.

    Now intellisense does not show up.

    Is QTP watching which previous objects have been created to know whether to show the intellisence.

    Kind of creepy!

    Usually it just complains when I press the save button.

    It reminds me of old QuickBasic that would notice when I move the cursor to a new line.

    Thanks,

    Kevin

  2. #2
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,555
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    Most every ide for any modern language is doing that. Essentially it is compiling the code as you work on it and in doing so is able to tell you where errors are going to be and how to autocomplete things. That's just what an ide does for you, without that, might as well just be working in notepad then trying to run it at command prompt to see any errors at run-time.

  3. #3
    SQA Knight bklabel1's Avatar
    Join Date
    Sep 2012
    Location
    Kew Gardens, United States
    Posts
    2,596
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    2 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0
    NoUse4aName,
    I like this feature. They made it so it does not get in the way or get annoying to the developer. It gives additional assistance,but does not annoy me.
    Thanks,
    Kevin

  4. #4
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,555
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    It annoys the heck out of me actually and with intellisense not working in function libraries linked at runtime in qtp 10 and prior I just got used to working without it. So when I get into an ide I usually disable it unless it's for a language or object types I'm not familiar with.

  5. #5
    SQA Knight bklabel1's Avatar
    Join Date
    Sep 2012
    Location
    Kew Gardens, United States
    Posts
    2,596
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    2 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0
    I find that if the intellisence info is too verbose it is not onthe screen.
    It is rthe situation with the .save method of excel files.

 

 

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 12.50%
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 02:08 AM.

Copyright BetaSoft Inc.