Test Complete: Switch to a different application
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Test Complete: Switch to a different application
Hello guys,
I have an application which starts another different application and I have issues in switching to the new one.
The record identifies all steps, but when I play it back, it doesn't recognize the second application.
Could someone help me ?
Thanks,
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How are you starting the second application? Are you using the TestedApps feature?
https://support.smartbear.com/testcomplete/docs/testing-with/tested-apps/running.html
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The second application is started by the initial application. Practically the app calls for a data import to be performed by the 2nd app into a db from the 1st app.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So the second app starts up but then TestComplete isn't seeing it?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. And also the 1st app is waiting for the 2nd app to be done, before it can resume.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Marsha_R wrote:
So the second app starts up but then TestComplete isn't seeing it?
Yes. And also the 1st app is waiting for the 2nd app to be done, before it can resume.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let's see the name mapping for where you are in App 1 when you want to go to App 2 and also what you want to click in App 2.
