The key in NameMapping is the smart selection of your criteria. If your ID is changing from session to session, that is not good criteria for mapping (even though TestComplete may be defaulting to that).
Consider some other options that, in combination, may actually work better. Like combining Caption, ObjectType, and even adding in "required children".
NameMapping does take an art at times to get it right.
If you need more specifics, it would be helpful to have some screenshots of the Object Properties of the objects you are attempting to map. Then I can give some better hints.
Robert Martin
[Hall of Fame]Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available