Forum Discussion

andrepm6's avatar
andrepm6
New Contributor
10 years ago

How to handle dynamic objects withou ObjectIdentifier property


Hello everyone,



I'm trying to navigate through a control wich is named:  Aliases.bigPanel.ATL
013B6518.


But this control looks dynamic, the value in bold above changes everytime.



How can i handle this, if this control doesnt have the property ObjectIdentifier?



Thanks in advance!





4 Replies

  • andrepm6's avatar
    andrepm6
    New Contributor
    So,



    The object ATL013B6518 does not have a propery WndCaption in namemapping.



    I tried to create this property and set the value as ?* and ATL*, but nome of this works.



    Edit: i dont know if this works, but the application is desktop (win32).
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Andre,

     


    Do you have only one object with the ATL* class name on this level in the object tree? In this case, you can use only the WndClass property with the ATL* value to map the object. Also, you can add the Visible or VisibleOnScreen property to create stronger criteria.


     


    Also, I recommend that you watch this screencast demonstrating how to create reliable tests for dynamic objects.