Manual Instrumentation of an APK file

Mobile Testing, Android App Testing.
houseofcutler
Posts: 52
Joined: Fri Mar 21, 2014 4:22 pm

Manual Instrumentation of an APK file

Post by houseofcutler » Mon Apr 07, 2014 5:06 pm

We have an APK file that will not instrument using the wizard (separate issue has been logged with support for this). One of our developers is trying to follow the manual instrumentation instructions to see if we can get it working that way. http://www.ranorex.com/support/user-gui ... -code.html

My First question is probably a stupid one - How do I determine the automation library version? I do see this in the 'About' screen. Nor has googling and searching the forum provided any answers of how to find it?

The second question relates to "Add permissions to your manifest file"
uses-permission android:name="android.permission.INJECT_EVENTS"

The Developer is telling me that this cannot be added because the application is not a system application.
Is this correct and will this be a problem?

many thanks for your help

Ben

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Manual Instrumentation of an APK file

Post by Support Team » Thu Apr 10, 2014 2:11 pm

Hello houseofcutler,

The permission can be added to the manifest but is maybe not granted by the system. This should cause no problem since the permission is not really needed anymore.

The lib version was introduced with Ranorex version 5, the current library version is 1.5.0.

Regards,
Robert

houseofcutler
Posts: 52
Joined: Fri Mar 21, 2014 4:22 pm

Re: Manual Instrumentation of an APK file

Post by houseofcutler » Fri Apr 25, 2014 12:38 pm

Thank you for your response - thought I had already relied to this - I have passed on the info to our developers