Forum Discussion

Mojo's avatar
Mojo
Occasional Contributor
8 years ago

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 writte...
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    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.