Forum Discussion
cunderw wrote:
My guess is that your second application is launched with some kind of dynamic identifier that Test Complete used to auto name map it. What does your name mapping look like compared to what you see in the object browser?
So they look the same :) that's the strangest part. Also if I do a recording of the actions, all actions get identified correctly, but when I play it again, it doesn't run. It waits for the app2 window to appear in order to press the import button, but doesn't find it - and I can see it's there
There has to be something different then that is changing betwen your recording and the playback. The auto generate name mapping is a great start, but will never be 100% complete so to speak. Can you provide screen shots of the object it can't find in the object browser, and then the properties being used in the name mapping? I would bet money there is something different.
- mircea_florian7 years agoOccasional Contributor
here you are
- Marsha_R7 years ago
Champion Level 3
Perhaps you need to SetFocus on App2 before you can proceed
- mircea_florian7 years agoOccasional Contributor
Hello. The SetFocus() doesn't do anything - meaning that it doesn't help. The 2nd app still cannot be found by testcomplete.
- cunderw7 years agoCommunity Hero
What about the root app2 object and it's mapping?
- mircea_florian7 years agoOccasional Contributor