Forum Discussion
So, what's wrong with your name mapping that it's not finding the objects properly? Seems that the problem is not necessarily with the checkpoint but with your name mapping.
I don't know of any way to turn off that override. Doing so, however, seems like it would be masking the problem. You have an item mapped, so it's trying to use the mapped information. If the mapping isn't working, then the better solution would be to fix what's wrong with the mapping.
When I first started using TestComplete (version 11) last year, I came across an issue where my tests would fail. I would manually create a Property/Object Checkpoint using the 'Drag target to object' and then I would select all the properties I wanted to include in the validation. When running the test would fail, I Looked at the error messages and noticed that stored values were right but the actual values were completely off. When I went back to the test editor, I opened the checkpoint and selected the highlight button, I found that TestComplete was pointing to the wrong object.
Take a look at the information Object Spy provides when looking at three different button on the same web page :
FULL NAME ===
BUTTON 1 : Sys.Browser("iexplore").Page("https://xxx").Table(0).Cell(1, 1).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Panel(0)
BUTTON 2 : Sys.Browser("iexplore").Page("https://xxx").Table(0).Cell(1, 1).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(0, 1).Panel(0)
BUTTON 3 : Sys.Browser("iexplore").Page("https://xxx").Table(0).Cell(1, 1).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(0, 2).Panel(0)
MAPPED NAME ===
BUTTON 1 : Aliases.browser.pagexxx.tableGemsContainerPanelPieHover.cell3.tablexxxRightPanel.cell.tableNeditorBasicPieFirstChildPi.cell2.tableToolbarBorder.panelAutoPopulateValues
BUTTON 2 : Aliases.browser.pageGems.tablexxxContainerPanelPieHover.cell3.tablexxxRightPanel.cell.tableNeditorBasicPieFirstChildPi.cell2.tableToolbarBorder.panelAutoPopulateValues
BUTTON 3 : Aliases.browser.pagexxx.tablexxxContainerPanelPieHover.cell3.tablexxxRightPanel.cell.tableNeditorBasicPieFirstChildPi.cell2.tableToolbarBorder.panelAutoPopulateValues
As you can see, there is a difference between the FULL NAME of the three buttons ( highlighted in RED ) but for the MAPPED NAME there is not different and when the test is run, all three buttons end up pointing to that third button.
Because of this, and lack of expertise, I found that using the FULL NAME would resolve this. But now with version 12, when I finish the checkpoint it reverts to using the MAPPED NAME.
You mentioned that this name mapping issue can be fixed?