还未发布过话题
  • WebDriverAgent 踩坑记 at 2020年04月17日

    你好,我在真机上运行多条用例,每次运行十几条用例之后就会出现连接超时,看 xcode 里面显示获取不到真机活动列表,以前完全没接触过 ios 测试,大佬帮忙看看呢,是哪里的问题呀,怎么解决呀
    用例报错信息:
    requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8100): Read timed out. (read timeout=60.0)
    xcode 信息:
    t = 7350.54s App event loop idle notification not received, will attempt to continue.
    t = 7350.54s App animations complete notification not received, will attempt to continue.
    2020-04-16 17:37:03.908945+0800 WebDriverAgentRunner-Runner[6400:1970311] Enqueue Failure: Failed to get system application: Timed out while fetching attributes 'XC_kAXXCAttributeSystemAppApplication' for Device system-wide element. WebDriverAgentRunner/UITestingUITests.m 38 1
    2020-04-16 17:38:08.913791+0800 WebDriverAgentRunner-Runner[6400:1970311] Enqueue Failure: Failed to get list of active applications: Timed out while fetching attributes 'XC_kAXXCAttributeFocusedApplications' for (null). WebDriverAgentRunner/UITestingUITests.m 38 1