Forum Discussion

joffre's avatar
joffre
Regular Contributor
13 years ago

NameMapping simple doubt

Is it possible to make an entire script by naming all objects manually?



Instead of recording the script I'm thinking about name all objects and write it down manually. There are a lot of forms that are being named with the same MappedName.

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Actually, that's the method I use.  I sometimes start with a record and let TC do some mapping... but then I go back and redo most if not all the mapping manually, adding criteria, adjusting values to have wildcards, adding in things like "Required Children" and conditional mode calls.



    Plenty of documentation in the help file about how to map objects.  Give it a try!  I think you'll find that, by doing manual mapping, you'll end up with both a more robust and flexible NameMapping scheme but even a more intimate knowledge of how the application is constructed so you can better write the actual tests.
  • joffre's avatar
    joffre
    Regular Contributor
    I'm totally gonna do that. But I think I'll do everything manually. TestComplete is NameMapping a lot of objects as they are the same.



    Thanks Robert.



    By the way, could you show me the link to NameMapping article?