Forum Discussion
If you are getting the "Edit Name Mapping Item" dialog when you double click on an item in Name Mapping, then TC has found an object that matches the Name Mapping item you selected. I'm guessing you want to update the object since it is now matching a different object in your application,
In this situation, I usually do one of two things:
* If I can identify the property that has changed, I edit the property to match the originally mapped object. Then I use the Highlight button to see if the Name Mapping object now maps to the application object I want it to.
* If that doesn't work, I delete the Name Mapping object and re-map the object.
In reading through the different help topics for the Name Mapping Wizard, there are different pages that can display under different circumstances. The page you are wanting to display will not display for your object since TC is finding an object that matches the properties that were mapped and is diplaying the Edit Name Mapping Item screen. I suggest you read the help topics again more thoroughly to better understand this ofter misunderstood feature of TestComplete.
Yes I understand what is happening and it's exactly why I'm asking if there's a way to access the wizard manually or if anyone has a way of handling this scenario elegantly. I'm working on a fairly complex HTML5 application that has thousands of objects and hundreds of those are dynamic (meaning they change everytime the object is invoked) and are at varying levels of hierarchies that are often 25-30 deep so I run into this issue on the regular and deleting the object and having to remap it everytime is exhausting.
btw...it's a bit insuling to tell people to read the help more thoroughly, especially when you yourself cannot offer a solution to the problem either.
dmiscannon wrote:If you are getting the "Edit Name Mapping Item" dialog when you double click on an item in Name Mapping, then TC has found an object that matches the Name Mapping item you selected. I'm guessing you want to update the object since it is now matching a different object in your application,
In this situation, I usually do one of two things:
* If I can identify the property that has changed, I edit the property to match the originally mapped object. Then I use the Highlight button to see if the Name Mapping object now maps to the application object I want it to.
* If that doesn't work, I delete the Name Mapping object and re-map the object.
In reading through the different help topics for the Name Mapping Wizard, there are different pages that can display under different circumstances. The page you are wanting to display will not display for your object since TC is finding an object that matches the properties that were mapped and is diplaying the Edit Name Mapping Item screen. I suggest you read the help topics again more thoroughly to better understand this ofter misunderstood feature of TestComplete.
Related Content
Recent Discussions
- 15 hours agotramuntana
- 3 days agoSlickRick