I am tring to use the find method to click on an object. My alias mapping is: Aliases.displayQt.UpgradeDialog.QtObject("QWidget", "", 2).QtObject("LocalNav::CenterButton", "", 1).QtObject("reject_button")
QtObject("reject_button") has a property of Name and a value of QtObject("reject_button")
Quite honestly, I would not use the "Name" property to find the object. I'd use combination of "ObjectType" and "ObjectIdentifier" or perhaps other sets of properties. The "Name" property is a construct of TestComplete's object tree.
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.