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
0
votes
1 answer

How To Run a python script from Ruby/Cucumber-Calabash

I have a problem with Calabash/Cucumber, i need to launch a python script, generated by culebra (androidviewclient) that in a few words, click on an external view to my application. This is my ruby page class: require 'calabash-android/abase' …
0
votes
1 answer

AndroidViewClient openNotification()

On my device running Android 4.2.2 the code vc.device.openNotification() does not work, it just flash and close it immediately (of course this same code is working fine on other tested devices). I must install an app "expand Statusbar" and use this…
AbrtFus
  • 29
  • 7
0
votes
1 answer

Androidviewclient features

I am still using AndroidViewClient version 10.5. Does the new version 10.7 implement new features as a monkey replacement and support unicodes raised on this post AndroidViewClient's device.touch() is much slower than MonkeyRunner's. Can it be…
AbrtFus
  • 29
  • 7
0
votes
1 answer

AndroidViewClient restarts device with every command after using "touch(x,y)" command once

Using AndroidViewClient, just recently every action I try to make using Culebra or any of the associated scripts just restarts the virtual device. Has anyone ever run into this before? **edit 1: ** More specifically, I get into this endless…
tomtom
  • 1,130
  • 2
  • 11
  • 35
0
votes
1 answer

culebra GUI not scaling at all

i am new to culebra. I have tried to follow the steps on the wiki page by running. culebra -G However, it gives me an oversized image but the command line does not allow me to enter new commands My image is something like this. And my command…
aceminer
  • 4,089
  • 9
  • 56
  • 104
0
votes
1 answer

ANDROID_VIEW_CLIENT with MonkeyRunner

I am trying to implement Android viewclient and Monkeyrunner together as i want to take snapshot load image and compare files using Monkeyrunner and run viewbased scripts using AndroidViewClient , can you please let me know how to do that or if…
Pavan
  • 21
  • 2
0
votes
0 answers

A fresh easy_install of AndroidViewClient returns an UiAutomator error with dump -Vc

I've installed AndroidViewClient on Windows using easy_install as recommended, and I'm having trouble performing a basic dump. D:\Apps\Python27\Lib\site-packages\androidviewclient-10.5.1-py2.7.egg\EGG-INFO\scripts>python dump -Vc Connecting to a…
dJe
  • 51
  • 5
0
votes
1 answer

mismatched input 'as' expecting CLONE in dtmilano viewclient.py

I am really new to python, Cmonkeyrunner and android. I am trying to automate android application and using dtmilano AndroidViewClient I have installed python 2.7.9 on Windows 8, extracted AndroidViewClient-master.zip to C drive, after that I…
James Bond
  • 45
  • 1
  • 5
0
votes
1 answer

AndroidViewClient throwing TRANSPORT NOT SET ERROR

I've been working with the adbClient.py from AndroidViewClient. I've run across the following error thrown occasionally and not sure how to fix it. Traceback (most recent call last): File "/Users/damonh/projects/prodtests/tablet/test_homePage.py",…
0
votes
1 answer

How to use viewclient traverse method in AndroidViewClient

I have the following codes to traverse a ListView in AndroidViewClient to build a list of accounts. It works fine but is it a good way to do because I can't find a more proper way to pass the variable list_accounts to the function findAccount() as…
AbrtFus
  • 29
  • 7
0
votes
1 answer

How to use AndroidViewClient findViewWithText() with regex

I have a script to monitor the Notifications screen page. I can open it via "Culebra" option "UiDevice" -> "Open Notifications". The notifications error message from some apps have starting characters which are changing, only a constant pattern…
AbrtFus
  • 29
  • 7
0
votes
1 answer

How to record the activity name via AndroidViewClient/Culebra

In order to shorcut and go directly to the current activity page of Android I must first find the activity name, if it is a fragment I try to get the closest activity as possible. I use a few commands to find this info, like "adb shell dumpsys…
AbrtFus
  • 29
  • 7
0
votes
1 answer

AndroidViewClient View Checkbox isChecked()

I can use Culebra to touch the checkbox of Mobile data, make a checking True or False by calling checkbox_id.isChecked(), everything is working fine. But I can't find the method isChecked() in the script ViewClient.py, where does this method come…
AbrtFus
  • 29
  • 7
0
votes
1 answer

How to use AndroidViewClient Culebra to scroll down

I have a Samsung S3 mini running Android 4.1.2 and AndroidViewVersion 10.0. I try to scroll down in the menu Settings. With the right button on Culebra I can select the option UiScrollable and then select "Fling forward", the device is scrolling…
AbrtFus
  • 29
  • 7
0
votes
0 answers

Androidviewclient return wrong coordinates for button

I have a dialog comfirming ok or cancel, the view id of the button ok is found but the coordinates are wrong and the touch() does not work on the button ok. Culebra can click on the button ok but only using DIP or PX unit. But I would like to avoid…