app instrumentation install prompt on android device

Mobile Testing, Android App Testing.
marek.smolana
Posts: 1
Joined: Wed May 11, 2016 2:07 pm

app instrumentation install prompt on android device

Post by marek.smolana » Fri Feb 03, 2017 5:27 pm

Hello,

Whenever instrumentation of android app is successfull there is prompt message displayed: "Do you want to install this application". Having this message displayed it is not possible to run a test without user interference and that is what I intend.

Problem is not directly related to Ranorex, but perhaps anyone knows a viable solution?

Device used: XPeria Tablet Z with Android 5.0.2

Best Regards,
Marek

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: app instrumentation install prompt on android device

Post by asdf » Mon Feb 06, 2017 3:17 pm

Hi Marek,

You could use the os automation in order to automate android system dialogs and android system apps. However, you will need to connect your device through USB to your machine, to get the os automation working.

Furthermore, if you connect your device via USB to your machine, this dialog doesn't appear. :lol:
I would suggest connecting your device through USB.

Hope this helps.

Best regards,
asdf

jaako91
Posts: 1
Joined: Fri Feb 09, 2018 5:36 pm

Re: app instrumentation install prompt on android device

Post by jaako91 » Fri Feb 09, 2018 5:40 pm

Is there a valid adb command available to bypass this prompt? I use wireless endpoints on my Android devices, so I would like to not have to be connected via usb to bypass this screen.

hubjohn
Posts: 4
Joined: Mon Feb 12, 2018 10:47 am
Location: Singapore
Contact:

Re: app instrumentation install prompt on android device

Post by hubjohn » Mon Feb 26, 2018 2:53 pm

if you connect your device via USB to your machine, this dialog doesn't appear. :lol: