Forum Discussion

VenkataRanga's avatar
VenkataRanga
Occasional Contributor
10 years ago

NameMapping properties automatic

Hi Everyone,       Belated happy new year!       Is it possible to make NameMapping properties automatic, means update properties on runtime. Best Regards, Venkata Ranga
  • AlexKaras's avatar
    10 years ago
    Hi,



    No, this is not possible. If you need to identify object on some level of objects hierarchy and, possibly, using a set of identification attributes, you may use Find/FindChild/FindAllChildren/FindAlias/... functions.

    Also, it is possible to use not constants, but variables as the values of the identification properties in NameMapping, thus obtaining more dynamic objects identification.

    http://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/ might provide you with a good ideas as well.