SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    71
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    internal methods and properties .Net Windows Forms objects

    Has anyone used the internal methods and properties of .Net Windows Forms objects? For exmaple, when you enter something like...

    swfwindow("Shell").swftable("Results").object.

    ...in expert view, the intelisense lists all the .net internal methods and properties for the object (I assume).

    I can't figure out the syntax to use these methods and properties. I'm not sure which are available or what their parameters are.

    Thanks!
    Eric Jacobson
    QA Consultant
    www.testthisblog.com

  2. #2
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: internal methods and properties .Net Windows Forms objects

    (I assume)
    <font size="2" face="Verdana, Arial, Helvetica">wrong assumption.
    After .object. nothing will be displayed as hint in intelisense list :-{
    Not for .NET objects, nor for any other.

    Janna

  3. #3
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: internal methods and properties .Net Windows Forms objects

    Dima,
    do we need special QTP settings for that?
    I've never got intellisense list for .object

    May be it's because I'm still on ver6.5 ?

    Janna

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Posts
    210
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: internal methods and properties .Net Windows Forms objects

    Janna,
    Eric is right. Indeed you can get the intellisense list for .object but only if the AUT is open and the corresponding run-time object is currently displayed.

    Eric,
    Try to point on a .NET object with Object Spy, switch to run-time object methods, select a method from the list. You should see the selected method parameters definition. You can also see all the methods and properties description for standard Windows Forms controls at MSDN site.
    For example:
    http://msdn.microsoft.com/library/en...mbersTopic.asp

    -Dima
    -Dima

  5. #5
    Member
    Join Date
    Jan 2004
    Location
    Illinois, USA
    Posts
    70
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: internal methods and properties .Net Windows Forms objects

    Hi Janna, You were correct. Intellisense was not working on ver6.5. In recent versions, Intellisense works the way as in Visual Studio VB6 (similar at least if not the same). It's nicer scripting with it.

  6. #6
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: internal methods and properties .Net Windows Forms objects

    Thanx, Eddy

    Janna

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

    Re: internal methods and properties .Net Windows Forms objects

    Thanks, Dima. I'm starting to get the hang of this.

    Eric
    Eric Jacobson
    QA Consultant
    www.testthisblog.com

 

 

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 10.00%
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 08:26 PM.

Copyright BetaSoft Inc.