AndroidViewClient
AndroidViewClient copied to clipboard
Android ViewServer and ADB client
While working on an Android malware detection system, I have experienced that the execution of `ViewClient.installPackage` function just never ends for some `.apk` files. What could be the reason for...
Hi, I just started using this tool, and like it so much. But find a issue with the EditText When the screen is in portrait position, the setText works fine,...
The code below take forever when view_list and view_list2 is different: ``` #! /usr/bin/env python import sys import os import hashlib from com.dtmilano.android.viewclient import ViewClient reload(sys) sys.setdefaultencoding('UTF8') # PyDev sets...
From the code here ``` b = vc.findViewWithText(bt) b.touch() ``` Let's suppose that b.touch() triggers NullPointerException. Can I get the information that the exception has happened? It looks not.
I keep receiving this error. `RuntimeError: ERROR: UiAutomator output contains no valid information. UiAutomator was killed, no reason given.` It seems to only happen sometimes. Other times, it's completely fine....
``` File "/usr/local/lib/python2.7/dist-packages/androidviewclient-15.3.1-py2.7.egg/com/dtmilano/android/culebron.py", line 1540, in concertinaLoopCallback self.sayText(Concertina.sayRandomText()) File "/usr/local/lib/python2.7/dist-packages/androidviewclient-15.3.1-py2.7.egg/com/dtmilano/android/culebron.py", line 770, in sayText ViewClient.sayText(text) File "/usr/local/lib/python2.7/dist-packages/androidviewclient-15.3.1-py2.7.egg/com/dtmilano/android/viewclient.py", line 3896, in sayText pipe = subprocess.Popen(['/usr/bin/festival']) File "/usr/lib/python2.7/subprocess.py", line 711, in __init__...
With appium, I can using unicodeKeyboard to type and send Chinese sentences, like below, but I'm not sure AndroidViewClient has similar function ` desired_caps["unicodeKeyboard"] = True desired_caps["resetKeyboard"] = True driver...
It would be nice to remove the dependency of needing adb installed. Google has been writing a plugin to do pure pythonic adb communications: https://github.com/google/python-adb
The following code keeps raising ViewNotFound exceptions from time to time(about 40% of time). I wonder if I have missed something in my setup. Notice useuiautomatorhelper=True because my test depends...
if bpp = 32 the mode is set to AGR. This in an invalid and not recognized mode. There seems to be something wrong in the next line where the...