I use the Deploy Android App / Deploy iOS App action in my test suite. I run this test suite on multiple devices and it takes a couple of minutes to instrument the app each time. Is there an action where I can instrument the app and save the file to a specific location? That way I can set the Instrument option to False in the Deploy App action. I just have to instrument the app once and then have the rest of the test refer to the instrumented app.
If there is no such action then can I get some info on how to use the ApkTool.jar file? What are the parameters we need to pass in when calling it?
Thanks for the help,
Tung
How do you use the ApkTool.jar?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How do you use the ApkTool.jar?
Hi Tung,
When using the Ranorex Instrumentation Wizard, you can select 'Instrument the App under test' without deploying the app. The default location for instrumented applications is C:\Users\USERNAME\Documents\Ranorex\InstrumentedApk Then you can choose this file in the DeployApplication action and set the 'Instrument APK' setting to false.
This setting can be found in the properties tab of the Deploy action Regards,
Markus (S)
When using the Ranorex Instrumentation Wizard, you can select 'Instrument the App under test' without deploying the app. The default location for instrumented applications is C:\Users\USERNAME\Documents\Ranorex\InstrumentedApk Then you can choose this file in the DeployApplication action and set the 'Instrument APK' setting to false.
This setting can be found in the properties tab of the Deploy action Regards,
Markus (S)
You do not have the required permissions to view the files attached to this post.
Re: How do you use the ApkTool.jar?
Hi Markus,
Thanks for the advice, but I would like to automate this process and include it in our CI process. Using the Ranorex Instrumentation Wizard requires me to manually instrument the APK file. I've notice that the Instrumentation Wizard calls the ApkTool.jar file, but all the parameters can't be seen in the display.
Can you provide some info on how Ranorex directly call the ApkTool? Basically, I would like to instrument the app via command line.
Thanks,
Tung
Thanks for the advice, but I would like to automate this process and include it in our CI process. Using the Ranorex Instrumentation Wizard requires me to manually instrument the APK file. I've notice that the Instrumentation Wizard calls the ApkTool.jar file, but all the parameters can't be seen in the display.
Can you provide some info on how Ranorex directly call the ApkTool? Basically, I would like to instrument the app via command line.
Thanks,
Tung
Re: How do you use the ApkTool.jar?
I found what I was looking for here:
http://www.ranorex.com/support/user-gui ... izard.html
Thanks for the help Markus!
http://www.ranorex.com/support/user-gui ... izard.html
Thanks for the help Markus!