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
1 answer
Not being able to import AndroidViewClient
I was trying to use the AndroidViewClient in Windows and Linux machine.
So I Installed the package via pip:
pip3 install androidviewclient
then I created a simple python script which simply imports the ViewClient like so:
from…

zambs
- 21
- 8
0
votes
1 answer
ValueError: received does not contain valid XML: Killed
When I try to dump my device or execute Culebra GUI, it appears the following error:
Traceback (most recent call last):
File "C:/Python27/Scripts/dump", line 4, in
import('pkg_resources').run_script('androidviewclient==20.0.0b6', 'dump')
File…
0
votes
1 answer
How can I run a command using python2 as the interpreter if I have Anaconda 3?
Im trying tto emulate an android device on my linux computer. I decided to go with androidviewclient and Culebra.
However, I think both are designed for python2, because when I run
culebra --version
I get the error:
File…

Qwertford
- 1,039
- 2
- 14
- 25
0
votes
1 answer
How to detect scrollable layouts on main view using culebra GUI
I am trying to record steps for running a UI test using Culebra but I am unable to get items from bottomsheet layout opened on the main view in my app.
I have tried clicking on the option but the code generated has no information about the…
0
votes
1 answer
How to set the environmental variable for AndroidViewClient?
I have monkeyrunner set up and am trying to set up AndroidViewClient as well. I followed the tutorial at https://github.com/dtmilano/AndroidViewClient/wiki, doing a pip install, and added the env path to my bash profile using the code:
export…
0
votes
1 answer
Python - AndroidViewClient take snapshots in high FPS
I wanted to take snapshots of my device in 60 FPS using AndroidViewClient on Python, so I used the function device.takeSnapshot(reconnect=True) in a loop to do so. However, it appeared that the time consumption of this function is around 0.5 seconds…

iheb meddeb
- 1
- 5
0
votes
1 answer
How can I get text if I have x,y coordinates using Androidviewclient
I have x = 402 and y=201 I need to get text available at that specified coordinates using Androidviewclient can anyone help in solving this issue

Raghu vamshi Mandala
- 15
- 4
0
votes
1 answer
AndroidViewClient - How to get notified when the Android Virtual Device start process is completed?
I use AndroidViewClient in order to use MonkeyRunner through Python. I need to start the AVD programmatically and get notified when the AVD start process is completed. How can I catch that event? The execution just does not reach the line after the…

talha06
- 6,206
- 21
- 92
- 147
0
votes
1 answer
AndroidVIewClient-How to run a python script simultaneously in multiple devices
I have created a python script to complete the initial setup of a device and I am able to run it in single device. I want to run the same script in multiple devices. I have provided the code below, please tell me how this code can be modified to run…

Josh
- 57
- 3
- 7
0
votes
1 answer
How to make multi-devices dump with AndroidViewClient/dump command?
I'd like to compare the screen of my devices (many) so I'm using AndroidViewClient tool to get the hierarchy of my screens with the dump command in a terminal.
However, my devices are all linked with my computer at the same time, and the dump…

Johann Andersen
- 3
- 1
0
votes
0 answers
How to check when content are loaded in a webview with AndroidViewClient?
I have an app which uses a WebView to display the content. The problem is that the AndroidViewClient dump produces the same results with only a WebView id whether the page is loaded or not therefore it's not possible to know when the page is…

AbrtFus
- 29
- 7
0
votes
1 answer
AndroidViewClient get id's from WebView
I have Samsung Android 4.3 API 18 and using AndroidViewClient, the dump produces only android.webkit.WebView therefore it's not possible to get all the id's within this page.
How Can I use Culebra to record the actions in the web page ?

AbrtFus
- 29
- 7
0
votes
0 answers
View Client Dump CPU Usage
I'm using Android View Client dump() via Python to pull Views off of an Android device to verify Views for my app that I'm testing. I am attempting to fix someone else's test code so some things are not implemented ideally. The way that the…
0
votes
1 answer
CULEBRA: Empty device list
I want to create a AVD using Culebra and ADB, but I think that isn't the correct way, maybe I need to use SKD Android.
OS: Windows 10
ADB is running:
netstat -an | findstr 5037
TCP 127.0.0.1:5037 0.0.0.0:0 …

Shinomoto Asakura
- 1,473
- 7
- 25
- 45
0
votes
2 answers
How can I simulate long press on a view (for example Hardkey for 10 sec) using AndroidViewClient?
How can I long press a hard key or keyevent for 20 seconds . Below is my code
longPress hardkey for 10 seconds
device. longPress(‘KEYCODE_CALL’ , 10)
Please anyone can help me for solving this issue

Raghu vamshi Mandala
- 15
- 4