Forum Discussion

VenkataRanga's avatar
VenkataRanga
Occasional Contributor
10 years ago
Solved

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
  • 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.

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    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.
  • VenkataRanga's avatar
    VenkataRanga
    Occasional Contributor
    Hi Alex,



       Thanks for response... I will go through given url.



    Best Regards,

    Venkata Ranga