Mobile automated deployment process and script running

Mobile Testing, Android App Testing.
User avatar
Posts: 375
Joined: Tue Aug 10, 2010 3:23 pm
Location: Toronto, Ontario, Canada

Mobile automated deployment process and script running

Post by Aracknid » Fri Mar 29, 2019 2:50 pm


I would like to automate the deployment of my Android app to a computer on which I'll be running an Android emulator.

How do I do automate the following:

- Ranorex Instrumentation (is there a command line option for this and documentation?)

- Once running for the first time, how to deal with permission dialog popups (e.g. allow app access to contacts popup)



User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Mobile automated deployment process and script running

Post by odklizec » Mon Apr 01, 2019 9:15 am


As for instrumentation from command line, simply run this command line, to get all Android-related command line instrumentation parameters:
Ranorex.Instrumentation.exe /? /p:android

And as for Android permission dialogs, the only way how to handle them is using ADB commands, as discussed for example here:

Hope this helps? ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration