AndroidViewClient is a 100% pure python library and tools that simplifies test script creation and android test automation, providing higher level operations and the ability of obtaining the tree of Views present at any given moment on the device or emulator screen and perform operations on it. Test script creation can be even further simplified and automated by using Culebra.
Questions tagged [androidviewclient]
203 questions
0
votes
2 answers
Erase text from Edit Text using AndroidViewClient
I am trying to automate a test case where i have to delete the data in EditText first , then enter new text and save it . i am using androidviewclient to find the views .
enter code here
Busy =…

user
- 65
- 1
- 11
0
votes
1 answer
android serialno as regular expression
I get error:
Regular expression not supported as serialno in ViewClient
when I have:
D:\work\testing\avc>adb devices
List of devices attached
192.168.56.102:5555 device
I have tried
adb tcp 5555
adb connect 192.168.56.102
which run fine and…

Miten
- 356
- 7
- 23
0
votes
2 answers
How can i get the status of check box
I am trying to get the status of Checkbox using androidviewclient
lock = vc.findViewWithText('Lock SIM card')
if (lock.isChecked()):
print "Enabled"
else:
print "Disabled"
this always returns False .
can anybody tell me how to get the…

user
- 65
- 1
- 11
0
votes
1 answer
AndroidViewClient - NullPointerException
I'm trying to make a script using MonkeyRunner & AndroidViewClient to test my own application.
I set the all environment variables in my Mac OS X. Of course, I can test my android application with a terminal command like './monkeyrunner…

Dae Ho Ma
- 13
- 3
0
votes
1 answer
where is androidviewclient 4.6.0 binary file?
I am writing test script for android applications. I have used AndroidViewClient version 3.0.1. But I have just found that AndroidViewClient was updated.
I just want to use this new version of AndroidViewClient 4.6.0, but i cannot find binary file, …

Dae Ho Ma
- 13
- 3
0
votes
1 answer
android UiTestAutomationBridge null root node returned
I get below error when doing vc.dump call. It goes fine at times and randomly fails with this error.
ERROR: Offending XML:
u'ERROR: null root node returned by UiTestAutomationBridge.\r\n'
LoginTest failure
(ExpatError('syntax error: line 1, column…

Miten
- 356
- 7
- 23
0
votes
1 answer
androidviewclient dump shows different ids for emulator and device, -F shows error, service testing possible with androidviewclient?
I am seeing issue that ids reported by emulator and device are different. I do have different android versions on them.
dump shows at pastebin dump outputs for emulator and device and the screen shots are here
emulator http://imagebin.org/271953…

Miten
- 356
- 7
- 23
0
votes
1 answer
MonkeyRunner send "Action/Next" key
Using MonkeyRunner how can I send the "next/action" key? It's the one on the bottom right corner of the android keyboard. Most of the time it's the same action as "KEYCODE_ENTER" or "KEYCODE_TAB" but not always.
I tried
device.press('ACTION_DOWN',…

elbajo
- 683
- 2
- 8
- 17
0
votes
2 answers
How to simulate touch on Image Button using view client
can any one tell me how to simulate touch on Image Button using android view client python

user
- 65
- 1
- 11
0
votes
1 answer
AndroidViewClient 4.0 encode() takes no keyword arguments
What I did:
Downloaded and unzipped AndroidViewClient v4.0.0 source
Used ant to build
Used the check-import.py example to ensure my ANDROID_VIEW_CLIENT_HOME env variable was properly set.
java -jar bin/androidviewclient-4.0.0.jar displays the…

CatShoes
- 3,613
- 5
- 29
- 43
0
votes
1 answer
Error: No module named dtmilano
I followed the steps mentioned in the below post:
Can't get AndroidViewClient example code to run
But im still getting error "No module named dtmilano"
In my test.py file i have added the following lines…

Evan
- 5
- 5
0
votes
2 answers
Android: measuring similarity between two activity pages
I'm using monkeyrunner and androidviewclient to crawl the GUI of some android apps (i.e., this). BTW, it is working great! The thing is that sometimes when you click on a clickable component it will open up the same page that you are in or you have…

Ehsan
- 4,334
- 7
- 39
- 59
0
votes
1 answer
MonkeyRunner and androidviewclient "dump-all-windows-lib.py" example is not working
I'm running this example, but it keeps showing this error:
windows = vc.list()
File "/Users/ehsan/Desktop/Android/adt-bundle-mac-x86_64-20130514/sdk/tools/androidviewclient-2.3.24.jar/com/dtmilano/android/viewclient$py.class", line 1864, in…

Ehsan
- 4,334
- 7
- 39
- 59
0
votes
1 answer
Android Nexus 10 AOSP build AndroidViewClient
I finally managed to successfully build a Nexus 10 image (full_manta-userdebug) with Google Mobile Services installed but unfortunately, I'm unable to use my MonkeyRunner script that uses AndroidViewClient. It crashes out of the script with the…

Android Noob
- 3,271
- 4
- 34
- 60
0
votes
0 answers
AndroidViewClient Settings > Developer Settings checkbox issues
I don't know if anyone else has run into this problem, but when I try to use AndroidViewClient/Monkeyrunner to click on the checkboxes for the "Stay Awake" and "Allow mock locations" options, they do not persist after navigating away from the…

Android Noob
- 3,271
- 4
- 34
- 60