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
-1
votes
1 answer
Is there a replacement for time.sleep() in the given script?
The below script connects the android device to Wi-Fi and register with existing account.
import re
import sys
import time
import os
from PIL import Image
from com.dtmilano.android.viewclient import ViewClient
device, serialno =…

Josh
- 57
- 3
- 7
-1
votes
1 answer
Adb issue in androidviewclient
J have a issue with ADB. I execute a python script lasting about 10 hours, but often the script crashes with message "Is adb running on your computer?".
To resolve this issue, I update adb with "adb devices" or "adb kill-server"+"adb start-server".…

Search solution
- 47
- 1
- 5
-1
votes
1 answer
Firing android intent from Android View Client
How can we fire an intent from AndroidViewClient ?
Can adb shell command be used to achieve it through AndroidViewClient?

Piyush Katariya
- 655
- 8
- 11
-1
votes
1 answer
Execute parsed xml data as command in python
I am trying to write a automation script in python whose steps are described in a xml document.
but when i tried to run the parsed xml data as command in python , it is treating parsed data as string and not executing it.
I am using…

Abhishek
- 306
- 2
- 8
-1
votes
1 answer
How to connect to mobile phone via it's WI-FI using AndroidViewClient
AndroidViewClient is working really well with the android emulators. I would like to use adb to connect to my mobile phone via wifi instead of using USB. I guess adbclient is able to do that, is there any example of scripts to do that ?

AbrtFus
- 29
- 7
-1
votes
1 answer
Android JB 4.2.2 and Monkeyrunner script to make call
I am using Jelly Bean 4.2.2 on my device and trying to make a call using Monkeyrunner script.
I am using the below code which was working on ICS very well but in JB, it doesn't type the phone number in the edit text box once the key dialer screen is…

user2344495
- 19
- 1
-2
votes
1 answer
Python Automation for Android
I am trying to Use View-client as a pure python .. not as a Monkey-runner and trying to get a Automation framework for Android devices using "UI Automator" + "Dtmilano" .
Any help please .. How to use "UI Automator" + "Dtmilano"?? and disabling…

Gaurav1 Kumar
- 5
- 4
-2
votes
1 answer
How do i run AndroidViewClient/culebra?
In the below code how can i use the ID's of the buttons or any view as i mentioned in my xml layout file. If i run dump.py -i , i am getting unique id's but not as i mentioned in my xml file.
touchProject =…

SajidKhan
- 59
- 2
- 14