andrew_1
11 years agoOccasional Contributor
Android application not being recognized as an instrumented application
When I record a test for an android application in Testcomplete, the application isn’t recognized as an instrumented app and the test is recorded as an image-based test. As far as I’m aware, the application was instrumented properly. The steps followed were:
1. The application was added to TestedApps using the “Instrument the application” option.
2. The “Backup original .apk file” option was ticked.
3. The “Sign the application using the debug certificate” was selected.
The “Instrumenting the application” screen appears, does its thing then disappears. If I try to Re-instrument the application, a message pops up saying that the application is already instrumented.
After recording a test, the object browser doesn’t have any objects relating to the application and the object spy doesn’t even recognize the Mobile Screen window. The Testcomplete Android Agent is installed on the device (Xperia Z phone) and tests recorded on the sample Orders application are recorded with all of the objects recognized.
Any suggestions as to what could be happening?
1. The application was added to TestedApps using the “Instrument the application” option.
2. The “Backup original .apk file” option was ticked.
3. The “Sign the application using the debug certificate” was selected.
The “Instrumenting the application” screen appears, does its thing then disappears. If I try to Re-instrument the application, a message pops up saying that the application is already instrumented.
After recording a test, the object browser doesn’t have any objects relating to the application and the object spy doesn’t even recognize the Mobile Screen window. The Testcomplete Android Agent is installed on the device (Xperia Z phone) and tests recorded on the sample Orders application are recorded with all of the objects recognized.
Any suggestions as to what could be happening?
- Hi Andrew,
Make sure that you are using TestComplete 10.40 - the latest product version.
If the issue persists on this version, answer the following questions:
1. What IDE was used to create the app?
2. What Android version is installed on the device?