Forum Discussion

Rishav's avatar
Rishav
Occasional Contributor
9 years ago

Regarding TestComplete

Hi All,

 

We, A certain group of engineers are working in Test complete  as a team and we had checked in and out through SVN repository. If someone sets a name mapping instance in his system. And we share the projects in repository. If you access those from another system , and then if you highlight the mapped objects, it does not reflect on to their screen. I want to know what and how to configure in TestComplete namemapping section that it becomes generic to all users.

 

Thanks and regards

Rishav Ganesan

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Name mapping should be generic on most systems, assuming that the mapping is being done generically.  For example, if something in your mapping is using a machine name, an IP address, or a user name, moving the name mapping to another workstation where any of those values would be different would exhibit the behavior you're describing.

     

    It would help to know more about the objects you're mapping.  Can you upload a screenshot to show us what you're doing and what you're running into?

    • Rishav's avatar
      Rishav
      Occasional Contributor

      Sending a screenshot is not possible as it is confidential. I just want to know how to create a common name mapping for all the systems that could lead in complete scripting 

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Coordination, communication, and basic awareness of what is being mapped are what we had to do.  Just some best practice hints that I learned:

         

        1) Define a set of standards for name mapping so that all users are using the same general rules

        2) Make sure you are not including in your name mapping anything that is environment specific. As mentioned, IP addresses that are local to the current machine, user names, user profile directories, etc, should be avoided unless you have a generic envirornment that is common for everyone.

        3) Use "Find" methods whenever possible within your script code and keyword tests. That way you will mind map only those things that are "static" throughout your tests and then use the "Find" methods to grab those more dynamic and volatile components.

  • mgroen2's avatar
    mgroen2
    Super Contributor

    Rishav There are multiple feature requests in the TestComplete feature request page. Maybe your specific issue is already discussed there. Then, you can vote for it (give it a 'kudo'), so changes increases that this feature/improvement will be selected for development. If it is not already discussed there you can create a new feature request your self.

     

    The feature request discussion thread can be found here.