Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    danielbz88
    @danielbz88
    Thanks @xiaocong, problem solved!
    Adel Nizamutdinov
    @meoyawn
    @xiaocong hey, do you have any test runner in mind for uiautomator?
    贺晓聪
    @xiaocong
    @adelnizamutdinov I am using nose now, and also pyunit is another good choice.
    Adel Nizamutdinov
    @meoyawn
    @xiaocong were you able to parallelize them across devices?
    Ran Ben Aharon
    @ranbena
    @adelnizamutdinov That's exactly what we created Magneto for :) http://getmagneto.com
    It utilizes Xiaocong's uiautomator with PyTest
    Andrey Vokin
    @avokin
    Hi,
    I've got some problems with running.

    from uiautomator import Device

    print 'connecting'
    d = Device(local_port=5037, adb_server_host='192.168.100.7', adb_server_port=5555)
    print 'connected'

    d.open.quick_settings()
    print 'settings'

    I see 'connecting', then 'connected'
    But d.open.quick_settings() freezes
    My device is on VirtualBox
    Andrey Vokin
    @avokin
    On the device installation from installation from unknown sources is allowed
    Any ideas?
    MiaoDaniel
    @MiaoDaniel
    Hi, Can you implement the long press power function in the tool? Thanks
    贺晓聪
    @xiaocong
    d
    @adelnizamutdinov I think you are looking for method like below:
    from uiautomator import Device
    
    d1 = Device('device-serial1')
    d2 = Device('device-serial2')
    贺晓聪
    @xiaocong
    @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
    贺晓聪
    @xiaocong
    @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.
    MiaoDaniel
    @MiaoDaniel
    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!
    Henry Hoang
    @henryhoang92
    How to use uiautomator for bluestack?
    Henry Hoang
    @henryhoang92
    Untitled.png
    how to click it in bluestack
    ?
    Henry Hoang
    @henryhoang92
    how to get coordinates in device?
    agrprashant
    @agrprashant
    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.
    Korlan
    @koorlan
    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)
    mariaanko
    @mariaanko
    hi Korlan...support is up from 4.1, it's already in the README...please try an older version
    janiaswin
    @janiaswin
    This message was deleted
    Korlan
    @koorlan
    Yup sorry i came here too fast..
    Rajeev Dixit
    @rajeevdixit05
    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)?
    anishazhak
    @anishazhak
    Hi,
    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 ?
    Rajeev Dixit
    @rajeevdixit05
    @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.
    TS
    @tingsu
    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 :)
    rajagondap
    @rajagondap
    Hi,
    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?
    thlengane
    @thlengane
    Hi,
    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?
    Nicholas Borba
    @nkborba_twitter
    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.