Forum Discussion
AlexanderM
Staff
16 years agoHello Harshad,
By, any chance, is it possible that TestComplete is re-writting the property values of object in the NameMapping file?
TestComplete does not rewrite name mapping property values itself automatically. The only situation when TestComplete can change mapping criteria is when the "Automatically Update Name Mapping Items" option is enabled ( Tools | Options | Engines | Name Mapping). When this option is enabled, TestComplete prompts you to change the mapping criteria if the mapped object cannot be found. TestComplete just shows a prompt window, but does not change the criteria on its own. We are not aware of situations when TestComplete can change the mapping criteria on its own.
We need to see the problem you are having with a real object in your project. Please pack the entire project suite folder and send it to Support. Specify the full Mapped Name of the problematic object and the mapping property whose value has been changed.
Besides, the new 8.10 version of TestComplete has been released. It contains a bunch of improvements, including those related to handling Name Mapping issues. In particular, if TestComplete meets name mapping ambiguity, it posts a corresponding warning to the Test Log. This information can help you find out the cause of the problem, so please install the new version of TestComplete and check how it works for you.
BTW, don't forget to send us the TestComplete crash dumps (for the situation when TestComplete crashes after clicking a Name Mapping item). Please check whether the error report files for the previous crashes exist in the Logs folder:
"C:\Users\<username>\AppData\Local\AutomatedQA\TestComplete\8.0\Logs\" (in Windows Vista or later)
"C:\Documents and Settings\<username>\Local Settings\Application Data\AutomatedQA\TestComplete\8.0\Logs\" (in other versions of Windows)
If some files are there, please zip them and send us the archive.