Forum Discussion
The full proof method is for you to enter a bug report against your R&D and let them know that dynamic naming is causing a problem in testing and that you insist on them naming their panels with a unique ID in order for you to complete your job successfully and not waste company's resources because they insist on doing this wrong.
If that is not possible and R&D has no intention of developing the AJAX based site correctly, you might have to dig deeper to find a property or an array of properties for that Object that you can count on. If all of them keep changing as you mentioned, I am not sure what TestComplete can do for you, there is no magic.
Finally, what are you trying to do with the Panel? click it? access its children? What is the end result? You probably not interested in the panel itself but what's inside of the panel and that is what you should concentrate on.
Let me know more and I will try to help
-Lino
I wouldn't shy away from using contentText. It can help distinguish one object from another with some judicial usage.