Forum Discussion

GAutomation's avatar
GAutomation
Frequent Contributor
6 years ago

What is the best way to have object repository

we have about 12k objects in our application. right now we have those in excel and everytime execute it take2 min to load it.  it is in DDT driver. So it is not opened but to loading it takes longe...
  • tristaanogre's avatar
    6 years ago

    Yes.

    NameMapping.

     

    There, done. :-)

    In other words... why have an external object repository when TestComplete has one built in?  There is no "loading" delay.. it's always there.

  • tristaanogre's avatar
    tristaanogre
    6 years ago

    You should not use "MappedName" to find, either.  That's the name of the mapped object... if it's already mapped, there's no need to find it.  

    And no, that is not your Alias name... an Alias starts with Aliases.

    A find should use non-TestComplete designators (wndCaption, ObjectType, etc) for the search.  

    So, since you already have it mapped with something represented by field, you should find the Alias designation and then use something like

     

    w=Aliases.legaclt.wndLSPANEL3.page32770.WaitAliasChild(field, 30000)