Forum Discussion
I am assuming this code is for scenario 1. Is that correct?
Please post a screenshot of how you are mapping the application in your name mapping.
Put a breakpoint just before the line where you get the 'Object not found' error. Stop the script and see if TestComplete recognizes the application from NameMapping. Post here what you find.
djadhav, I cannot post any screenshot of my namemapping.
but it's quite simple.
when I build the scenario, I use alternatively the recorder with a script transcription or I map myself objects.
the mapping is set to Aliases.MyApp.etc.etc
When I clear all tested apps, and do not have the .exe launched in memory, the autocompletion don't give me anything.
But when the app is launched, the mapping knows that it's the right app.
Just by the process name.