kenny_trytek
14 years agoOccasional Contributor
Dynamic Flex Object Recognition
Is it possible to allow TestComplete to automatically adjust to Flex application object name changes? I want to recognize objects by either a regular expression for a name, or other properties entirely. I have found the name mapping templates documentation and experimented with them, but that seems to still identify specific objects instead of adjusting to object property changes.
Example:
I have an application object named "DocumentViewer928". On a new build, the name changed to "DocumentViewer9281" and the object could no longer be recognized by TestComplete. I had to manually update the name mapping to accommodate this change. Ideally, I would be able to specify the object name as something like "DocumentViewer\d+" for automatic updating/identification if the name changed so I wouldn't have to manually remap every build (there are multiple builds per day). There are many objects that change their name in this manner all the time, so manually remapping is not a good option.
Example:
I have an application object named "DocumentViewer928". On a new build, the name changed to "DocumentViewer9281" and the object could no longer be recognized by TestComplete. I had to manually update the name mapping to accommodate this change. Ideally, I would be able to specify the object name as something like "DocumentViewer\d+" for automatic updating/identification if the name changed so I wouldn't have to manually remap every build (there are multiple builds per day). There are many objects that change their name in this manner all the time, so manually remapping is not a good option.