monkeyrunner Questions
3
I am working on Android Studio and I cannot see my package inside Android>Data folder of my device when I run apk on it. I am unable to run monkey without it. I have also mentioned installLocation=...
Jujube asked 14/9, 2015 at 12:50
5
Solved
Is there a way to get the Android ID for a menu item? I can see getTitle() but not a getId(). I'm interested in the ID value "menu_printer_settings" rather than the title value "printer_settings" a...
Keffer asked 5/6, 2013 at 11:17
4
Solved
Is there any guide to do following UI automation like selecting an item, writing text, pressing buttons in Android.
Please list the steps to integrated this UI automation of one of the above thing....
Kilometer asked 18/9, 2012 at 10:44
7
Solved
I've started creating a MonkeyRunner script. This is going ok, but whenever I add a MonkeyDevice::touch command, I have to determine the input coordinates by trial-and-error. Basically I guess at t...
Nicolais asked 3/2, 2012 at 20:15
1
Solved
Crash:
java.lang.SecurityException: Injecting to another application
requires **INJECT_EVENTS** permission
Command:
adb shell monkey -p PACKAGE_NAME -v -v --throttle 300
--pct-touch 40 --pct-...
Acrylyl asked 11/1, 2018 at 10:3
1
Solved
I am using Monkeyrunner (automation) to test an app on an Android device (Samsung S2), and since it does not allow me to see image patterns on the screen, I have to rely on the adb logcat (using Wi...
Emmeram asked 31/7, 2017 at 13:12
3
I see the below error sometimes while running monkeyrunner scripts.
140501 17:01:58.950:S [MainThread] [com.android.chimpchat.adb.AdbChimpDevice] Error sending touch event: 500 515 DOWN_AND_UP
1405...
Dissenter asked 1/5, 2014 at 21:9
4
How do you use monkey and monkeyrunner tools for android testing?
What are the basic commands needed?
Keely asked 6/9, 2012 at 7:14
0
I use the Monkey to stress-test my app. On https://developer.android.com/studio/test/monkey.html I read:
-s <seed> Seed value for pseudo-random number generator. If you re-run the Monkey wi...
Rugose asked 18/8, 2016 at 7:48
1
I am not familiar with android development. But just want to use python script to do something on my android device/emulator.
For example:
change system settings.
set a proxy.
open app A, ...
Shippen asked 1/4, 2016 at 6:28
4
The Android SDK has an API for sending commands to the phone called Monkeyrunner. It appears to be a Python API. Is there anyway I can use it in a Java application?
Purdy asked 13/7, 2011 at 21:45
3
Solved
I need to test android app which includes WebView with buttons.
Monkeyrunner works fine for all parts of the app except WebView.
Button in WebView just ignores touches from Monkeyrunner.
I see tha...
Adsorbate asked 9/2, 2013 at 2:29
2
Solved
When using MonkeyRunner, every so often I get an error like:
120830 18:39:32.755:S [MainThread] [com.android.chimpchat.adb.AdbChimpDevice] Unable to get variable: display.density
120830 18:39:32.7...
Chemistry asked 31/8, 2012 at 2:51
6
i am tryig to execute a sample python program through monkey runner command prompt and it is throwing an error
Can't open specified script file
Usage: monkeyrunner [options] SCRIPT_FILE
-s Monke...
Porphyrin asked 26/9, 2011 at 11:45
2
Solved
I am looking to find out whether or not it is possible to determine if the screen is on on an android device using ADB. I need to know this for some tests I am trying to run using monkey runn...
Tartarus asked 28/1, 2014 at 14:58
3
Solved
I'm writing some Android test automation for our applications, which are localized into 18 languages.
I need the ability to switch the language on the device programmatically - I don't mean to swi...
Gills asked 13/12, 2011 at 20:9
0
Background
the monkeyRunner (and monkey) is a nice tool to test out apps.
I have an idea of using it (or something similar) to record & emulate touches (and keys).
The problem
The tool its...
Scaliger asked 8/12, 2013 at 19:32
2
I'm writing a simple test for Android app and it fails while trying to connect my device with this log:
Traceback (most recent call last): File "D:/MonkeyRunnerTest/test/LaunchTest.py", line 3, i...
Fairweather asked 17/7, 2013 at 6:12
2
Solved
Is there any way to simulate keyevent on "OK" or "CANCEL" buttons of Android dialogue box using adb commands?
Salk asked 12/7, 2013 at 9:59
3
Solved
I want to use MonkeyRunner to test the compatibility of my android program for a list of devices with different screen resolutions. I need to click a view, but the view is not in the same position ...
Strangulation asked 11/8, 2011 at 7:50
2
Solved
I would like to extend the MonkeyDevice class of the monkeyrunner API.
My derived class looks like this.
from com.android.monkeyrunner import MonkeyDevice, MonkeyRunner
class TestDevice(MonkeyDev...
Palatable asked 15/9, 2011 at 15:30
5
Solved
I just can't find the help.py file in order to create the API reference for the monkeyrunner. The command described at the Android references
monkeyrunner <format> help.py <outfile> do...
Mournful asked 9/12, 2010 at 8:58
2
I am trying to automatically scroll the browser using monkeyrunner. So far I can scroll by "Drag" event, but how can I scroll by "Flick". I appreciate if you can give me some hits or instructions.
...
Ba asked 1/3, 2012 at 5:12
1
Solved
Why importing MonkeyRunner into Python script fails in Windows?
I created a file foo.py and copy-pasted code from the MonkeyRunner docs. The following error appears when compiling the sample code ...
Queue asked 9/2, 2012 at 10:44
1
Solved
Looking through the Android apis I found a method call isUserAMonkey(),
says it returns true if the phone is being messed with by a monkey.
Is this a joke, or what is it used for?
Caroche asked 25/9, 2011 at 15:15
1 Next >
© 2022 - 2024 — McMap. All rights reserved.