• 问题解决好了😆

  • @ 小抄 我本地试了一下,运行发现一直提示报错信息:

    appium 调试日志的报错信息:

    [debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8200). Retrying...
    

    我本地 ide 里面报错信息:

    Traceback (most recent call last):
      File "D:/pythonworkpace/tideviceTest/PreviewCameraTest.py", line 58, in <module>
        driver = webdriver.Remote("http://127.0.0.1:4723/wd/hub", desired_capabilities=desired_caps)
      File "D:\Program Files\Python\lib\site-packages\appium\webdriver\webdriver.py", line 155, in __init__
        proxy
      File "D:\Program Files\Python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
        self.start_session(capabilities, browser_profile)
      File "D:\Program Files\Python\lib\site-packages\appium\webdriver\webdriver.py", line 225, in start_session
        response = self.execute(RemoteCommand.NEW_SESSION, parameters)
      File "D:\Program Files\Python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
        self.error_handler.check_response(response)
      File "D:\Program Files\Python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
        raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8200 Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
    
    
    

    我试过电脑和手机都重启了,发现不管用呀,求指导一下

  • airtest 可以支持 Windows 应用的 ui 测试

  • 期待下次来个 XCTest 的教程👍

  • Golang 版 libimobiledevice at 2021年04月19日

    Java 版本期待哪位大神翻译一下😁

  • 截图对比

  • 厉害,马上入手研究

  • 请问,你这是 bugreport 信息解析出来,通过以上规则去衡量耗电报告的吗

  • 有时间,没日期?闹着玩?

  • 厉害