SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2008
    Posts
    88
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    An objects-hierarchy discrepancy

    Hi all,
    There is a discrepancy between the object-spy and the recorded script regarding the objects hierarchy of the same test object.
    It can be seen in applications like web applications and .Net applications, that the Object-spy's objects-hierarchy of a test object is not the same as the corresponding one of the recorded line as shown in the script.
    The Object-spy's hierarchy is generally much deeper in comparison to the recorded script's line regarding the same test object in the application, how come?
    Thanks

  2. #2
    Senior Member
    Join Date
    May 2006
    Location
    Israel
    Posts
    338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: An objects-hierarchy discrepancy

    Both .Net and HTML (and VB6) support an very strict inner control hierarchies. This means that given a parent, you can recursively run through all its children until you find the relevant one.

    This means that you basically only need the top and bottom levels in order to specifically point to a control. I guess QTP sieves away all the "junk" (or what he thinks is junk), to preset you with a coherent and understandable object repository.

    So for example, while your application might have dozens of nested panels, they won't show in the object repository, as they only function as a framing host for the more significant controls.
    www.AdvancedQTP.com
    'coz we're programmers - not users

  3. #3
    Member
    Join Date
    Jun 2008
    Posts
    88
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: An objects-hierarchy discrepancy

    Thanks a lot
    auto1

 

 

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 11.54%
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 06:28 AM.

Copyright BetaSoft Inc.