Questions tagged [androidviewclient]

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.

culebra logo

203 questions
1
vote
2 answers

How to check device or emulator was launched using AndroidViewClient?

I am using AndroidViewClient library for one of my project. I faced with problem that my scrip working good on the emulator, but on the real device I have to add some lines of code. But I didn't find how to check is my device real or simulator. I…
Mikhail Valuyskiy
  • 1,238
  • 2
  • 16
  • 31
1
vote
1 answer

Installing a package using Android viewClient

I am trying to implement Androidviewclient to run viewbased scripts , is there any way i can install new packages using androidviewclient like the way we can with monkeyrunner using "device.installPackage()"
Anand
  • 278
  • 3
  • 10
1
vote
0 answers

Error while using device.takeSnapshot() in androidviewclient

I am currently using the following versions Python - 2.7.10 ( 32 bit , win) AndroidViewClient - androidviewclient-10.7.1-py2.7.egg I have a simple program as below import sys import os try: sys.path.insert(0,…
Shekhar
  • 11
  • 1
1
vote
1 answer

AndroidViewClient tap specific X,Y coordinate

What is the correct way to touch a specific X,Y coordinate on screen using AndroidViewClient?
tomtom
  • 1,130
  • 2
  • 11
  • 35
1
vote
1 answer

culebra GUI not starting up

I am new to culebra and i have run into some issues. Firstly the document states that i should use culebra -G to start the GUI. however, i am using python culebra -G else it will not recognize as a valid command. Secondly upon starting the…
aceminer
  • 4,089
  • 9
  • 56
  • 104
1
vote
1 answer

Unable to use Culebra

I am on Windows 8 with python 2.7.9 and androidviewclient-10.5.1 installed. I extracted AndroidViewClient-master.zip to C drive, after that I installed android viewclient using easy_install I can find Culebra inside following…
James Bond
  • 45
  • 1
  • 5
1
vote
1 answer

Type non-English characters via androidviewclient

Is there a way to type non-English characters via androidviewclient? Cyrillic in my case. I added Russian layout to Genymotion and all others Input methods but no luck. Or maybe a way to use Copy/Paste? This solution is even better, because I need…
noobz
  • 33
  • 1
  • 3
1
vote
1 answer

the dump problem of AndroidViewClient: The views are being refreshed too frequently to dump

I need to use AndroidViewClient to do some automated testing. In my code, I use dump() of the ViewClient. But I usually meet the following mistake: RuntimeError: The views are being refreshed too frequently to dump. It may raise by this: ERROR:…
wuyuanyi
  • 339
  • 1
  • 2
  • 8
1
vote
1 answer

Androidviewclient dump() hangs on transition screen

I use the latest AndroidViewClient version on Windows. After the script clicks on the button next the application connects to the remote server and waiting for a response, during this time there is a like "waiting progress bar" on the screen. The…
1
vote
2 answers

AndroidViewClient install for Windows 7

I install Python version 2.7.9 for Windows 7, python is setup under the folder C:\Python27 and the subfolder Scripts has well the file easy_install.exe, then from the command line I run the command "easy_install --upgrade androidviewclient" as…
1
vote
1 answer

Locating UI objects with same attribute values except bounds

While automating the test cases, I got into situation where multiple objects are showing same attribute values in UiAutomator except bounds (i.e. x,y location on the display). I do not want to use the bounds to locate the object. In…
user846316
  • 6,037
  • 6
  • 31
  • 40
1
vote
1 answer

Waiting for a specific view on androidviewclient

I am using androidviewclient from dtmilano and it works great. I need to know how do I wait for a specific view to appear on the screen and then take an action ? I am using getandroidview() but not able to understand its correct…
1
vote
1 answer

AndroidViewClient remove package and broadcastreceiver

I am using the AndroidViewClient library, and it works perfectly fine. I want to know how do I remove a package and access the methods listed here: http://developer.android.com/tools/help/MonkeyDevice.html I tried using MonkeyRunner but…
1
vote
0 answers

Takin Screen Shot of video playing on Android device using Android view client

Taking snap shot is very simple using Android view client in monkeyrunner tool . My problem is > I am working on an Android TV . And i m automating one app for channel installation . Now i Tv have different On Screen Displays (OSD) where android…
1
vote
1 answer

Simulate touch, hold, move in android debug bridge

Rather than using a drag or swipe command in the android debug bridge or AndroidViewClient like this: device.drag((600,800),(600,1200), 1000) device.shell('input touchscreen swipe 600 800 600 1200 1000') Is there some way to simulate something…
Micro
  • 10,303
  • 14
  • 82
  • 120
1 2
3
13 14