![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
App测试
Summer@123
不积跬步,无以至千里
展开
-
tidevice安装ipa报错ssl.SSLError: [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)
使用tidevice安装iOS adhoc包时报错ssl.SSLError: [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)我已经安装的版本是0.4.10,卸载再次重装后是 0.10.7,就不会报错了。搜了一下解决方案,并没有遇到可以解决此问题的。原创 2023-04-28 23:56:54 · 385 阅读 · 0 评论 -
连接真机,Appium启动Session时报错:settings delete global hidden_api_policy‘‘ exited with code 255‘
机型:OPPO场景:Start session报错settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy’’ exited with code 255’; Stderr: 'Exception occurred while executing ‘delete’: java.lang.原创 2022-01-29 17:24:16 · 2215 阅读 · 1 评论 -
selenium.common.exceptions.InvalidElementStateException: Message: Cannot set the element to ‘xxxxx‘
场景:在使用appium做自动化测试,短信验证码输入框,使用send_keys(),报错selenium.common.exceptions.InvalidElementStateException: Message: Cannot set the element to ‘123456’. Did you interact with the correct element?解决方案:使用press_keycode()# encoding=utf-8import unittestclass Key原创 2021-11-24 14:21:37 · 1365 阅读 · 0 评论 -
Appium连接手机时报权限错误 Security exception: Permission Denial: starting Intent
原因:desired capacities 中的app activity不是start activity。解决方案1:问开发要start activity解决方案2:使用以下adb命令查看手机中activity manager的日志清掉之前的手机日志:adb logcat -c在手机端打开被测APP执行命令:adb logcat -s ActivityManager > D:\log.txt查看捕获的日志文件D:\log.txt,找到打开APP的操作,如下所示,是一条Info级别的日志原创 2021-10-25 16:14:23 · 1293 阅读 · 3 评论