Hi, I am also observing the simmilar problem as mentioned in case of radiobutton2 /radiobutton3.
we have TestComplete installed on a virtual machine on which more than one person can login at a time. So myself and another automaton person we both login to the same VM and use the TC.
We have observed that the code which is developed by me works fine from my instance of VM but if I copy the project to another person's folder and open that project from his instance of VM on Testcomplete, I see the behavior as mentioned above that some of the controls shows different names panel1 /panel2/panel3. In that case I have to again identify the object and udpate the code.
So please let us know, using the TC installed on a single VM from seperate 2 login instannces of VM is the reason behind such behavior ?
Solved! Go to Solution.
Is your name mapping exactly the same for both projects? I bet it's not. When you're sharing or swapping projects, you are better off merging the name mapping so you can both use the same one and get each other's updates. For 2-3 of us, we usually merge once a week or so, depending on how many changes are being made.
This new post was on a thread that was several years old. I started a new thread for it.
Is your name mapping exactly the same for both projects? I bet it's not. When you're sharing or swapping projects, you are better off merging the name mapping so you can both use the same one and get each other's updates. For 2-3 of us, we usually merge once a week or so, depending on how many changes are being made.
Depends on how you are "cloning" it. Are you just giving him a copy of your folder and he is opening that? Or are you using "add existing" to get your tests into his project? Or something else?
from project suite I am doing add existing and adding project to his TC. Today I tried doing the name mapping merge, still the problem was there. Then I realised that the some of the parent object are dynamic and they are taking names like - rabtabcontrolpanel1, rabtabcontrolpanel2,rabtabcontrolpanel3 etc. I am talking about object browser here. So that is why name mapping for some of its child elements is not working. I am testing a desktop application here which uses telerik controls, WPF.
I have seen one of the solution is to do wildcarding in name mapping for these parent objects, but I could not find the way to do that in Testcomplete 12. If you could help me with that also your views on this would help.
Thanks in advance.
Yes, wildcards in this case would be very useful.
Here you go:
https://support.smartbear.com/screencasts/testcomplete/wildcard-dynamic-property-in-testcomplete
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html#InNameMapping
Subject | Author | Latest Post |
---|---|---|