Contributions
Re: How to turn of override to use MAPPED NAME for Checkpoints?
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, Iopened the checkpoint andselected thehighlight 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 differencebetween the FULL NAME ofthe 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?1.3KViews0likes2CommentsHow to turn of override to use MAPPED NAME for Checkpoints?
For some reason, using the MAPPED NAME does not work for the system I am testing. Instead, I have been very successful at using the FULL NAME from Object Spy to setup object and property checkpoints. However, in the switch to version 12, even if I specify the FULL NAME on the object field and select the various properties to validate, the system overrides the object to use the MAPPED name which does not identify the object properly and ends up identifying against another object in the system. How I can I turn this override off? I am having to edit the test steps in Value to remove the mapped name reference and past the Full name reference.1.4KViews0likes4Comments