On the device installation from installation from unknown sources is allowed
Hi, Can you implement the long press power function in the tool? Thanks
@adelnizamutdinov I think you are looking for method like below:
from uiautomator import Device
d1 = Device('device-serial1')
d2 = Device('device-serial2')
@avokin Thanks for your feedback. Could you please try adb via command to check if there is any error?
adb -H localhost -P 5037 devices
Here you should change localhost and 5037 with right IP address and port
@MiaoDaniel There is a limitation on uiautomator to implement log press. I have to use sendevent command on my tests, but it depends on what device you are using.
Hi, xiaocong, I often encounter the problem of RPC server not started, pls help me solve it, thanks!
Hi, @xiaocong , I often encounter the problem of RPC server not started, pls help me solve it, thanks!
How to use uiautomator for bluestack?
how to click it in bluestack
how to get coordinates in device?
hello there, I am trying to use and understand how uiautomator python lib works. In particular, I am trying to figure out the files located at https://github.com/xiaocong/uiautomator/tree/master/uiautomator/libs. Could you tell me what they are and their role (for e.g. app-uiautomator.apk --> android-uiautomator-jsonrpcserver) ? If there is a design doc for this codebase, that would be super helpful.
Hi everybody !
I'm on a Nexus S (4.0.4) and i cant use uiautomator (RPC server can not start) any ideas ( same pc sucessful connection with elephone p9000 (6.0) and galaxy S3 (5.0)
hi Korlan...support is up from 4.1, it's already in the README...please try an older version
This message was deleted
Yup sorry i came here too fast..
Hi Xiaocong, I have a doubt regarding python wrapper for UIAutomator, which is internally using UIAutomator. If I upgrade UIAutomator from 1.0 to 2.0, then will it affect the execution, also can be used with any test runner (InstrumentationTestRunner or AndroidJUnitRunner)?
I am trying to run the uiautomator python wrapper on Android N, but it doesn't seam to be working. It works just fine on L and M. Has anyone been able to run it on N ?
@anishazhak : yes it's compatible with Android N. The only thing is you need to check whether 'com.github.uiautomator' and 'com.github.uiautomator.test' is present in your device packages or not (calling UIautomator wrato wrapper, injects these two into device).I have found the same issue in some of the AndroidN devices. If its not there, push it manually and then give it a try.
have anyone know how to use the Adb module? any details about its APIs? Now I have to infer from test_adb.py
I think if there are some APIs doc here, will be very useful :)
I am trying to use the python uiautomator for my native app automation
i have got one code d(text=""+obj_1+"").right(text=""+obj_2+"").click()
instead of click can i get status interms of true or false?
i just wanted to check whether the object2 at the right of object 1 is present then only i can click object 2
please suggest how to proceed?
I am trying to get this working, I have setup everything as advised but each and every command is taking about a minute to respond. Is there anything I am doing wrong?
Hi, I'm starting to use and study uiautomator I saw that here is a very quiet community but if you need some help to develop or figure out something count on me.
Have anybody tried it on Oreo device and is it working?