Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    MiaoDaniel
    @MiaoDaniel
    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.
    Kranthi Kumar
    @cranticumar
    Have anybody tried it on Oreo device and is it working?
    Nicholas Borba
    @nkborba_twitter
    I'll take a look on this @cranticumar
    Kranthi Kumar
    @cranticumar
    Thank you @nkborba_twitter
    Nicholas Borba
    @nkborba_twitter
    @cranticumar I answered your question on stackoverflow, see if it helps :)
    Boniface Pereira
    @craftpip
    Hello
    Does uiautomator require root permissions ?
    I've been tried with a rooted phone that worked
    but does not work with a non rooted phone
    it gives the error, RPC server not started!
    Can someone please help
    Nicholas Borba
    @nkborba_twitter
    @craftpip Hi, uiautomator does not require root permissions. Are you using windows? I have a friend who cannot run uiautomator on windows because the same error you're facing.
    I'm using linux, this error occured just once with me and after run "adb kill-server && adb start-server" this does not happened anymore
    Marcin Kozubala
    @Kozubi
    on start uiautomator tries to install own apk ("server") maybe you have unchecked "Install from unknown sources" or your phone prevents from running it.
    archanarathnam
    @archanarathnam
    Hi
    Nicholas Borba
    @nkborba_twitter
    Hi
    rohitkp
    @rohitkp

    Hi xiaocong,

    I am trying to develop test for my Android devices Alert dialog, While trying for this the outcome of d.dump() don't show any change in the output if there is alert dialog (systemDialog) is on screen of not there on screen..where as I am able to detect(getting package name) that through command <adb shell "dumpsys window windows">. Can advise any way where I can get the Properties Table for alert dialog (systemDialog) through UI automator python wrapper??

    One more way I tried to find/detect the alert dialog (syatemDialog) is through Android studio (through Layout Inspector). In this case I can see the Properties Table for my systemDialog.

    Can you suggest some way? where I can find/read 'system_dialog_title' and 'system_dialog_message' text and can perform button operations(OK, YES, NO...) on the it through this python wrapper UIautomator??

    Denis Vitor
    @denisvba
    @rohitkp it is not part of UI Automator wrapper, but have you tried the uiautomatorviewer? It is different from layout inspector on Android Studio.
    I'm thinking about your question and I remember myself having an issue using these tools to map a alert dialog. I don't remember getting this fixed, I believe I used some hardcoded workaround.
    viniradkris
    @viniradkris

    Hi xiaocong,

    I am trying to simulate a drag and drop action using Python wrapper for UIAutomator and I see that there is a drag function which can be used but the problem is that it just drags the element to the other element but does not drop. Can you please help me on how can I implement the drag and drop action? TIA

    viniradkris
    @viniradkris
    @xiaocong can you please help me with the above request?
    lyg1729751884
    @lyg1729751884
    @xiaocong device = Device('emulator-5554')
    print(device.info),then the console hasn't any response? who can help me?
    theonemartian
    @theonemartian
    Hi @xiaocong , i am trying to run UIautomator it was working fine but now its doesnt work. I have USB debugging ON device connected via USB, but it says RPC server not started! plese help me out