收藏
回答

处理用户资料弹窗allow_get_user_info()操作失败?

EBUG 2021-11-23 13:46:27,791 connection.py _on_message     232 RECV < {"id":"59da05e6-99f4-4859-b122-d5ea9cfcf55c","result":{}}
DEBUG:minium:ECV < {"id":"59da05e6-99f4-4859-b122-d5ea9cfcf55c","result":{}}


RROR:root:androidx.test.uiautomator.UiObjectNotFoundException: [{"name": "current", "values": {"4": "android.widget.Button", "12": true, "1": "\u5141\u8bb8"}}]
        at com.tencent.mm.atstub.at.StubAction.pySelector(StubAction.java:395)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.tencent.mm.atstub.at.StubAction.invokeMethod(StubAction.java:444)
        at com.tencent.mm.atstub.at.StubAction.invokeMethod(StubAction.java:407)
        at com.tencent.mm.atstub.at.StubAction.<init>(StubAction.java:63)
        at com.tencent.mm.atstub.at.StubServer.serve(StubServer.java:46)
        at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:935)
        at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:194)
        at java.lang.Thread.run(Thread.java:919)


DEBUG 2021-11-23 13:46:44,016 minitest.py _miniTearDown   862 =========Current case Down:test_login=========
DEBUG:minium:========Current case Down:test_login=========


EBUG 2021-11-23 13:46:44,018 connection.py send            183 SEND > {"id":"dee42999-a0f1-4f45-a30a-b89c53c20bff","method":"App.getCurrentPage","params":{}}
DEBUG:minium:END > {"id":"dee42999-a0f1-4f45-a30a-b89c53c20bff","method":"App.getCurrentPage","params":{}}


EBUG 2021-11-23 13:46:44,027 connection.py _on_message     232 RECV < {"id":"dee42999-a0f1-4f45-a30a-b89c53c20bff","result":{"pageId":-1182059027,"path":"pages/login/index","query":{}}}
DEBUG:minium:ECV < {"id":"dee42999-a0f1-4f45-a30a-b89c53c20bff","result":{"pageId":-1182059027,"path":"pages/login/index","query":{}}}


EBUG 2021-11-23 13:46:44,028 connection.py send            183 SEND > {"id":"31da288a-e5d8-48fe-a1ea-8be9048d5151","method":"Page.getData","params":{"pageId":-1182059027}}
DEBUG:minium:END > {"id":"31da288a-e5d8-48fe-a1ea-8be9048d5151","method":"Page.getData","params":{"pageId":-1182059027}}


EBUG 2021-11-23 13:46:44,038 connection.py _on_message     230 RECV < {"id":"31da288a-e5d8-48fe-a1ea-8be9048d5151","result":{"data":{"root":{"cn":[{"nn":"pure-view","uid":"_n_280","cn":[{"nn":"pure-view","uid":"_n_253","cn":[{"nn":"static-image","uid":"_n_252","src":"http://drrun.static2.deeproute.cn/image/logo.png","cn":[]}],"cl":"l13utj15"},{"nn":"pure-view","uid":"_n_279","cn":[{"nn":"form","uid":"_n_278","height":"1000rpx","cn":[{"nn":"pure-view","uid":"_n_254","cn":[],"st":"margin-bottom: 200rpx;"},{"nn":"pure-view","uid":"_n_257","cn":[{"nn":"input","uid":"_n_255","n...
DEBUG:minium:ECV < {"id":"31da288a-e5d8-48fe-a1ea-8be9048d5151","result":{"data":{"root":{"cn":[{"nn":"pure-view","uid":"_n_280","cn":[{"nn":"pure-view","uid":"_n_253","cn":[{"nn":"static-image","uid":"_n_252","src":"http://drrun.static2.deeproute.cn/image/logo.png","cn":[]}],"cl":"l13utj15"},{"nn":"pure-view","uid":"_n_279","cn":[{"nn":"form","uid":"_n_278","height":"1000rpx","cn":[{"nn":"pure-view","uid":"_n_254","cn":[],"st":"margin-bottom: 200rpx;"},{"nn":"pure-view","uid":"_n_257","cn":[{"nn":"input","uid":"_n_255","n...




an 1 test in 88.687s


OK
<unittest.runner.TextTestResult run=1 errors=0 failures=0>all
回答关注问题邀请回答
收藏

2 个回答

  • 羊大
    羊大
    2021-12-08

    碰到了同样的问题,问下解决了么

    2021-12-08
    有用
    回复
  • 啦咯啦咯啦咯
    啦咯啦咯啦咯
    2021-11-28

    我也遇到相同的问题了,使用native的allow_xxx,都会抛出uiObjectNatException异常,请问大哥已经找到解决的方法了没?


    2021-11-28
    有用
    回复
登录 后发表内容