Android app testing without deploying any APK file.

Mobile Testing, Android App Testing.
dikshith
Posts: 2
Joined: Wed Jun 12, 2013 7:54 pm

Android app testing without deploying any APK file.

Post by dikshith » Wed Jun 12, 2013 8:08 pm

Hi,
is it possible to automate a android application without deploying the apk?
For eg: i have a company proprietary application which is already installed in the android device by default and user is not provided with the apk of that application.
So is it possible for the user to add that particular application under the ranorex service and automate the application without deploying the apk on Android device?
If no, is there any other way to automate proprietary app's which will be installed by default on device(default applications which comes along with the build and user is not provided with the apk's of those application)

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

Re: Android app testing without deploying any APK file.

Post by Support Team » Thu Jun 13, 2013 4:14 pm

Hello,

Do you want to automate Google apps (e.g. Messenger)?
Unfortunately, it's not possible to automate proprietary apps from Google for Android devices.
These apps are installed in a protected memory area on the device where we don't have access to it.

Regards,
Markus (T)

dikshith
Posts: 2
Joined: Wed Jun 12, 2013 7:54 pm

Re: Android app testing without deploying any APK file.

Post by dikshith » Tue Jun 18, 2013 8:43 am

Hello Markus,
I'm not talking about Google Apps. These applications are provided by our company i.e it is motorola proprietary. These applications will be integrated along with the Android OS by Motorola.
Is there any other way where i can add the package name of these applications to ranorex service which will be running on the android devices other than deploying the APK's?

Regards
Dikshith Anchan

WMacNeil
Posts: 5
Joined: Tue Jun 11, 2013 2:32 pm

Re: Android app testing without deploying any APK file.

Post by WMacNeil » Tue Jun 18, 2013 3:19 pm

I also had a problem where I wanted to click something on the screen, but it was outside of my app which was instrumented.

Make a request for the APKs or try this work around.

You can run MonkeyRunner by emulating clicks on the screen based on coordinates.
http://developer.android.com/tools/help ... cepts.html

Also, check this out...
http://docs.opencv.org/doc/tutorials/tutorials.html

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

Re: Android app testing without deploying any APK file.

Post by Support Team » Wed Jun 19, 2013 1:56 pm

Hello,

You may use adb tool to get a APK file of a custom app (not system app) out of your device.
Please take a look at the documentation from Android.

Then, you could instrument this APK file and deploy it to your device.

Regards,
Markus (T)