Recognition string of object frequently changing in external repository
Hi,
I am using an external notepad repository for keeping the recognition string of the objects of my application
(Windows application). Then, i am using keywords against which functions are written to return stub objects
and perform actions as per my requirement. But, after each new build of the application, the entire recognition of
some of the objects completely changes. While for some of them, i am using wildcards(*), but for some objects, the entire
class changes. What can be done to reduce maintainability of the repository? Any help will be greatly appreciated.
If you don't want to use the NameMapping feature of TestComplete, rather than using the long recognition string, you might be better off in determining identification properties similar to the way NameMapping works. For example, an object may have a class and a caption, two things that will change rarely, regardless of how the rest of the application changes. So, instead of the long string, use those two properties and their values and then utilize the built in "Find" or "FindChild" methods of TestComplete to find and return the specific objects.