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
How to run Genymotion with android view client?
I am running my app in genymotion emulator, am trying to access the app from android view client python library, but can't seem to find a way to access it. View client only takes port for access, so i can't work with IP address of the remote virtual…

Ankit Arora
- 509
- 2
- 18
0
votes
1 answer
AndroidViewClient, unable to find a view
I am using android view client for testing out the UI. My hierarchy looks like(as seen from the monitor tool of android studio):
What I want to do is get a handle on the ball , and perform a touch action on it.
However, I am not able to get it.
I…

harveyslash
- 5,906
- 12
- 58
- 111
0
votes
1 answer
androidviewclient: store view client dumps
Is there some way to store dumps in a dictionary and use these dumps at a later time so that the dump does not have to be recalculated every time? This is a more a proof of concept question as I'm looking for a way to speed up androidviewclient's…

Jason Villanueva
- 1
- 3
0
votes
1 answer
how to access java class function in an android apk remotely for testing?
i have an application on android which communicates with Arduino device, it communicates with the Arduino through the USB interface and we would like to have access of some of those functions remotely in order to run our end to end tests. We're…

Ankit Arora
- 509
- 2
- 18
0
votes
1 answer
Using AndroidViewClient Can I search for an app in the app list if not found scroll down and search again?
I am using AVC 11.5.6 and using function FindviewwithtextorRaise() and trying to automate a test case. I need the script to search for application in the app list after opening menu. If the App not available in opened list the script should scroll…

parameshwar reddy
- 11
- 2
0
votes
1 answer
Is it possible with androidviewclient to search for multiple words in findveiwwithtext() function?
I am using Androidviewclient version 11.5.6 and I want to search for multiple names at a time in function findVeiwwithtext function. Is it possible with AVC??

parameshwar reddy
- 11
- 2
0
votes
1 answer
Is it possible with androidviewclient to obtain and print button status?
I am using androidviewclient 11.5.6 and trying to automate BLE application having powerSwitch button. I want to obtain the status of button and print the status. Is it possible with androidviewclient or I should try with some other tool?? Please…

parameshwar reddy
- 11
- 2
0
votes
1 answer
Androidviewclient valueError while running
I have generated the template using command $ culebra -U -o mytest.py and using for com.csr.csrmeshdemo:id/powerSwitch to turn on and off the switch.
It worked fine for first time but after restarting system for another issue I am unable to run my…

parameshwar reddy
- 11
- 2
0
votes
1 answer
Image Comparison using Android View Client
Is there a way we can compare android images using Android View Client?
Current procedure i am trying is by using python comparison.

Pavan
- 21
- 2
0
votes
1 answer
AndroidViewClient - can't getXY() coordinates
I'm running AndroidViewClient and am able to dump a complete hierarchy, but things fail when I try to getXY() or touch(). Even the solution from Get Current Focused Window Name using AndroidViewClient gives me an error.
kwargs1 = {'verbose': True,…

leeeroy jenkins
- 19
- 1
0
votes
1 answer
can AndroidViewClient script run on device or from app (not from terminal)
Currently I use UIAutomator to perform Android UI testing. Basically, I write Java code, compile it, install the jar, and run.
Suppose the UI test app (read UI operations from xml file) is called AppTester.jar, which is used to test the developed…

realmq
- 429
- 4
- 18
0
votes
1 answer
AndroidViewClient: junk after document element
I tried to take dump on Samsung S6.
$dump
Following is the output I received (last line):
sh: resetreason: can\'t execute: Permission denied\r\nKilled \r\n
Which permission is denied and who's getting killed?

Darpan
- 183
- 2
- 12
0
votes
1 answer
AndroidViewClient Down, Move, and Up Events
I have managed to install, and successfully run Culebra. I previously used MonkeyRunner to move things around on the…

Eugene
- 135
- 1
- 11
0
votes
1 answer
AndroidViewClient: How to check if "Id/Text/Image" exist before touch it?
How can I check if exist an ID/Text before touch it?
I was trying with this:
# class=android.widget.ImageView
com_evernote___id_close = vc.findViewByIdOrRaise("com.evernote:id/close")
if not com_evernote___id_close:
vc.sleep(1)
else:
…

CodeIK
- 177
- 1
- 14
0
votes
0 answers
still unable to setup path environment variable for android view client
does not show the AndroidViewClient folder in the installed directory
so unable to locate it, but able to see com-dtmilano and folders after that. but not able to see src and AndroidViewClient folder.

KarunaL
- 17
- 2