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
5
votes
2 answers
AndroidViewClient's device.touch() is much slower than MonkeyRunner's. Can it be fixed?
I've ditched MonkeyRunner for AndroidViewClient to benefit from its added reliability and simplicity of implementation (thank God for pure Python).
I need to perform several device.touch() events as fast as possible, however AndroidViewClient seems…

dJe
- 51
- 5
3
votes
1 answer
Touch, swipe or drag events emulating on Android not working
After reading posts I figured out how to emulate a touch event :
adb shell input tap 100 100
I've installed MagicMarker in order to see if anything is drawn, nothing appears.
I've also tried with monkeyrunner/androidViewClient Touch functions…

AdrienG
- 310
- 4
- 9
3
votes
2 answers
how to hide softkeyboard using androidviewclient
I am UI and in that in edittext I type and then click button. The softkeyboard stays popped up. Actually before clicking button I want to hide keyboard. How to do it ?
Regards,
miten.

Miten
- 356
- 7
- 23
3
votes
1 answer
AndroidViewClient and system Settings app
So I'm trying to automate the Security > Screen Lock > None option, but I seem to be having a bit of trouble getting AndroidViewClient to "select" the Screen Lock option which takes you to the next menu to select your screen. Here's the…

Android Noob
- 3,271
- 4
- 34
- 60
3
votes
4 answers
How to determine whether softkeyboard is shown on the screen - while using monkeyrunner
I am trying to automate few screen clicks and entries using monkeyrunner(using AndroidViewClient )
Whenever there is a edittext in the screen, the soft keyboard is popping up, and if I want to press a button though findViewById, (assuming that this…

Durairaj Packirisamy
- 4,635
- 1
- 21
- 27
2
votes
1 answer
What are some of the disadvantages of AndroidViewClient/Culebra over Espresso for Android GUI Automated Testing?
I've been using AndroidViewClient for a couple of months now and I like it so far, it's simple and a pretty powerful tool. I'm trying to develop an automated testing platform for more extensive and thorough automated testing of our product and I'm…

Sina Prghdrt
- 39
- 5
2
votes
1 answer
AndroidViewClient (Culebra) fails on Marshmallow
I have made a script with the help of Culebra GUI on a rooted Galaxy S4 with Android 5.0.2.
The test passes with success. However when I try to run the same script on a Moto X running Android 6.0 the script fails prematurely.
testSomething…

timr
- 6,668
- 7
- 47
- 79
2
votes
1 answer
Android View Client
I am new to use android view client and am trying to run a view client program from my system and always getting error like:
ERROR: testSomething…

Pavan
- 21
- 2
2
votes
4 answers
In android view client I'm not able to capture qwerty keyboard in message
I'm using android version 4.4.2 and python 2.7 for UI automation.
when I tried to capture view using UI automator/culebra/dump, I'm not able to capture QWERTY keypad view. Please help me on this
I need to touch and type on qwerty keypad and I should…

AndroidTest
- 31
- 6
2
votes
1 answer
Where can I get AndroidViewClient version >= 5.3.1?
In this topic I see @dtmilano talking about AndroidViewClient >= 5.3.1 but I see the latest current AVC version is 5.1.1.
Where can I get AVC >= 5.3.1 ?

Prophet
- 32,350
- 22
- 54
- 79
2
votes
1 answer
how to connect multiple devices using AndroidViewClient
i want to connect to two multiple devices (device1,device2) using AndroidViewclient for automating a test case , where i have to make a call from device1 and receive the call on device2 . Please help how to connect to two devices simultaneously .

user
- 65
- 1
- 11
2
votes
0 answers
androidviewclient touch long press API 17
I am unable to do a long press on screen using touch. My device is API 17 and am using AVC AndroidViewClient-6cd170e65a8869fd9d5915a984342aa3b8937ce7
I have tried drag at same co-ordinate but seems duration and step is ignored for API <= 17.
It…

Miten
- 356
- 7
- 23
2
votes
1 answer
reporting and logging using androidviewclient
What is best practice to do logging and reporting of test suite with AVC ?
I mean on running test it would be nice to get a bug report or test pass/fail report and in case of any errors like force close it would be nice to get some dump to…

Miten
- 356
- 7
- 23
2
votes
1 answer
AndroidViewClient - How to handle ScrollView IDs
I am trying to use AndroidViewClient for ScrollViews. Here's a scenario from the Android Settings Screen:
1. Launch the settings page, do a ./dump.py, it will generate all the ids etc.
2. Scroll the settings page down, do another ./dump.py. The…

Nitin
- 21
- 1
2
votes
2 answers
set ANDROID_HOME in the environment, ViewClient
I am using viewclient for button pressing in my tests. But i am getting ANDROID_HOME path was not set, though i set it in the environment variables. I am using windows7 OS.
File "F:\Example\AndroidViewClient\src\com\dtmilano\android\viewclient.py",…

msk
- 135
- 2
- 13