I have a project with named mapping.
When I click on a mapped object to edit it or view on screen,
it is ok
So I cloned the project.
Now when I attempt to use the object, they are non-existent.
I go to named mapping and click on an object to edit.
"Unable to edit the "object" element because its underlying object does not exist. Do you want to refresh the object tree and try to find the object again?"
I say yes...about 100 times. But no joy
My original project is still ok though. No refresh needed.
Is this a bug in TC7 where cloning a project does not completely update the Named mapping?
Is there a workaround?
I attempted to look at my cloned named mapping project again and TC7 just turned off. I had to restart.
Now the cloned project is gone and I cannot edit the mapped objects that were working just 3 minutes ago from the original project.
I love the concept of named mapping but this inability to edit it if you "can't see it" is becoming an issue. I cannot risk writing a ton of code then lose all my mapped object definitions.
Or worse, the cloned project. That is a show-stopper!
No Named Mapping and no cloning around!
Try cloning the project once again. Does the Name Mapping file in the cloned project fail when working in the original project again? If it does, please find the mapping name in the Mapped Objects tree without the underlying object. Find the actual "underlying" object in the Object Browser panel (see the 'Object Properties Window' topic to learn how to use the Finder tool) and make sure that the name from the Mapped Objects tree uses the same values for the mapping properties as those the actual object has.
As for the crash, can you reproduce it stably? If you can, please send us your project suite along with the exact steps to reproduce the problem via the Contact Support form (http://www.automatedqa.com/support/message/).
Also, please let me know what version of TestComplete you have. The latest version is 7.20.
The crash is not repeatable. Any log files I can send if
it happens again?
Right now TC7 is 'stuck' again too.
It's "Stopping" and won't quit. Have to kill via Task Manager. TC7 seems very flaky. [img]/images/graemlins/frown.gif[/img]
There does not appear to be anyway to recover.
I can find the object with the Object Browser. But that
does me no good.
I cannot 'edit' the Mapped object. It keeps giving me
the message: "The Underlying Object does not exist" is the message. So all I can see is the name and ID.
I'm abandoning Named Mapping. I lost the map with cloning (3 times now) and occasionally when stopping and starting TC7 with the original project. I have to keep 'remapping'.
Overall Named Mapping, though really nice is Too risky.
[ QUOTE ]
The crash is not repeatable. Any log files I can send if it happens again?
[/ QUOTE ]
When TestComplete crashes, it generates a dump file in the '<TestComplete>\Bin\Logs\' folder. You can send us the generated file via the Contact Support form (http://www.automatedqa.com/support/message/).
Guess what? Nada on those log files.
No log files were generated. TC7 just
'stopped'. It appears that you have an open
Null Pointer Exception or something.
I opened a trouble ticket and if log files are ever
generated, I'll send them along.
Meanwhile I shall save often. ;-D