I'm new to Test Complete and I'm automating a Web application in a Dev environment with a copy of our QA database. When it comes to running the scripts, the database from the Dev environment will be restored in the QA environment and the scripts will be run. While running the recorded Keyword Scripts in the QA environment, I saw that the Object Checkpoints were failing due to the MappedName being incosistent between the two environments. The last node of the MappedName from QA environment is different from the Dev environment (differences highlighted in red below).
MappedName in QA: Aliases["browser"]["pageMyProjectsItemAuthoringAndRe"]["panelBody"]["sectionGridMainContent"]["sectionProjects"]["panelVisible"]["panelKGridContent"]["table"]["cellHoverlink"]
MappedName in Dev: Aliases["browser"]["pageMyProjectsItemAuthoringAndRe2"]["panelBody"]["sectionGridMainContent"]["sectionProjects"]["panelVisible2"]["panelKGridContent"]["table"]["cellHoverlinkKStateBorderDown"]
There is no difference between the code in the two environments. The only difference, in Dev, is I'm running the application locally. The only way I'm able to get the scripts to run in QA is by replacing the Dev MappedName Value in the Object Checkpoint with the QA MappedName for all the checkpoints in the scripts (Value highlighted in red in the attachment).
How do I get around these inconsistencies between the environments so I can use the scripts recorded in Dev and run them in QA?