UiAutomator2.0相关收集

本文集合了多个关于UIautomator2的实用教程和技术博文,深入介绍了UIautomator2的各种类如UiObject2、BySelector、UiWatcher等的使用方法,并提供了丰富的实例,帮助读者快速掌握Android自动化测试技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

UIautomator2填坑点击打开链接

UIautomator2 API概述 http://blog.youkuaiyun.com/java18/article/details/53535928

UIautomator2使用实例及使用CTS   http://www.cnblogs.com/zeo-to-one/p/8245732.html

基于UIAutomator+Jenkins Android自动化测试 实现 http://blog.youkuaiyun.com/stonree/article/details/25404125


Uiautomator 2.0之UiObject2类学习小记  http://blog.youkuaiyun.com/swordgirl2011/article/details/50993157


Uiautomator 2.0之BySelector类学习小记 http://blog.youkuaiyun.com/swordgirl2011/article/details/50990584


Uiautomator 2.0之UiWatcher类学习小记 http://blog.youkuaiyun.com/swordgirl2011/article/details/51010683


Uiautomator 2.0之UiDevice新增API学习小记  http://blog.youkuaiyun.com/swordgirl2011/article/details/50941555


Uiautomator 2.0之Until类学习小记  http://blog.youkuaiyun.com/swordgirl2011/article/details/50992135







Message: An unknown server-side error occurred while processing the command. Original error: 'POST /actions' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details Stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'POST /actions' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details at UIA2Proxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:85:5) Traceback: File "D:\Hy_autotests\Hy_autotest\cases\Supperapp\Amap\Super_Amap_001.py", line 54, in teststeps self.super.swipe_down(self.driver) File "D:\Hy_autotests\Hy_autotest\lib\ThirdApp\superapp_common.py", line 442, in swipe_down driver.swipe(x1, y1, x2, y2, duration) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\appium\webdriver\extensions\action_helpers.py", line 158, in swipe actions.perform() File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\common\action_chains.py", line 78, in perform self.w3c_actions.perform() File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\common\actions\action_builder.py", line 88, in perform self.driver.execute(Command.W3C_ACTIONS, enc) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute self.error_handler.check_response(response) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\appium\webdriver\errorhandler.py", line 30, in check_response raise wde File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\appium\webdriver\errorhandler.py", line 26, in check_response super().check_response(response) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, 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: 'POST /actions' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details Stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'POST /actions' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details at UIA2Proxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:85:5)
07-25
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值