- 博客(93)
- 收藏
- 关注
原创 【WebDriverAgent/FastBot_iOS】报错:Command CodeSign failed with a nonzero exit code
Command CodeSign failed with a nonzero exit code
2023-08-31 15:20:19 854
原创 【Appium踩坑】settings delete global hidden_api_policy exited with code 20 Can‘t find service: settings
(adb相关的报错,基本都可以试试重启服务,重启大法向来好使!
2023-04-11 10:09:12 1022 1
原创 【Mitmproxy】oppo a9 安装 mitmproxy cer 证书,提示:没有可安装的证书
oppo a9 安装 mitmproxy cer 证书,提示:没有可安装的证书
2022-12-27 20:05:54 951
原创 【Appium踩坑】xcode14运行WebDriverAgent报错:Cannot link directly with dylib/framework for architecture arm64
Cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architectu
2022-10-08 19:58:51 3846 3
原创 【Appium踩坑】WebDriverAgent 在iOS 14系统执行 test 时,一直报错:test crashed
本地执行test时,testRunner 一直会报错-test crashedBuild Settings - All - 「VALIDATE_WORKSPACE」- Yesappium issues:Unable to install web driver agent in iPhone 8(iOS 14.4) via MacOS BigSur with Xcode 12.4 #1692
2022-08-15 11:39:25 1351
原创 【Mitmproxy】Mac + Python + mitmproxy透明代理配置,拦截所有网络请求
Mac 配置透明代理 & mitmproxy拦截请求不全,丢失请求mitmproxy has crashed!failure: filenotfounderror(2, 'no such file or directory')
2022-06-28 19:43:45 3260
原创 【Appium踩坑】io.appium.uiautomator2.common.exceptions.InvalidArgumentException: ‘capabilities‘ are mand
【Appium踩坑】Encountered internal error running command: A new session could not be created. Details: io.appium.uiautomator2.common.exceptions.InvalidArgumentException: 'capabilities' are mandatory for session creation
2022-06-24 09:59:54 1518
原创 【Appium踩坑】Cannot start the ‘com.xx.xx‘ application. Visit https://github.com/appium/appium/blob/mast
【Appium 踩坑】Encountered internal error running command: Error: Cannot start the 'com.tencent.music' application.
2022-06-22 16:15:26 1932
原创 【Git】gitignore不生效场景2: 添加文件忽略 & .gitignore,整个文件夹都被忽略了
【Git】gitignore不生效场景2: 添加文件忽略 & .gitignore,整个文件夹都被忽略了
2022-06-22 12:05:56 692
原创 【Appium踩坑】关闭inspector后打开weditor,uiautomator2.exceptions.NullPointerExceptionError: -32001 Jsonrpc er
【Appium踩坑】关闭inspector后打开weditor,报错:uiautomator2.exceptions.NullPointerExceptionError: -32001 Jsonrpc error: data: java.lang.NullPointerException
2022-06-20 19:52:09 2358 1
原创 【Appium踩坑】aapt2 xx.apk: error: failed opening zip: Invalid file.
aapt2 xx.apk: error: failed opening zip: Invalid file.
2022-06-15 21:19:53 723
原创 【Appium踩坑】Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code
Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
2022-06-15 17:38:11 2303 4
原创 【Appium踩坑】Could not determine Xcode version /Library/Developer/Info.plist does not exist on disk
【Appium踩坑】Failed to create session. An unknown server-side error occurred while processing the command.Original error: Could not determine Xcode version: Could not get Xcode version. /Library/Developer/Info.plist does not exist on disk.
2022-06-15 13:08:34 3064
原创 【Appium踩坑】Encountered internal error running command: Error executing adbExec.
【Appium踩坑】Encountered internal error running command: Error executing adbExec.
2022-06-13 18:44:20 1545
原创 【Android】aapt2报错:windows W/ziparchive( 2348): Unable to open ‘badging‘: No such file or directory
aapt2报错:windows W/ziparchive( 2348): Unable to open 'badging': No such file or directory
2022-06-09 18:40:49 3142
原创 【Python】使用 requests_toolbelt 发multipart/form-data 请求
【Python】使用 requests_toolbelt 发multipart/form-data 请求
2022-05-25 21:11:24 982
原创 【Appium踩坑】A JavaScript error occurred,Could not get code signature for running application
【Appium踩坑】A JavaScript error occurred,Could not get code signature for running application
2022-05-17 15:22:02 1198 1
原创 【Appium踩坑】Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded
【Appium踩坑】Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded
2022-04-21 14:25:36 4647 2
原创 【Appium踩坑】Failed to capture a screenshot. Does the current view have ‘secure‘ flag set?
【Appium踩坑】Failed to capture a screenshot. Does the current view have 'secure' flag set?
2022-04-21 11:53:11 6648 1
原创 【Appium踩坑】Failed to create session. The requested resource could not be found, or a request was rece
【Appium踩坑】Failed to create session. The requested resource could not be found, or a request was rece
2022-04-18 17:03:46 7180 3
原创 【Android】python脚本执行报错:/bin/sh: aapt2: command not found
python脚本执行报错:/bin/sh: aapt2: command not found
2022-03-31 20:18:12 820
原创 【Appium踩坑】使用Appium Setting开启wifi or 关闭wifi,弹系统wifi权限弹窗问题
使用Appium Setting开启wifi or 关闭wifi,弹系统wifi权限弹窗问题
2022-03-27 19:22:35 5007
原创 【Git】切换分支、拉代码
当前开发分支:kk远程主分支:master切换分支git checkout branchname 当前在开发分支,提交代码到远程git statusgit add 需要提交的文件git commit -m "改了啥"git push当前在开发分支,从master拉代码git checkout kkgit merge master类似情况:当前在master分支,从开发分支拉代码:git checkout mastergit merge kk...
2021-12-23 10:17:18 650
原创 【Appium踩坑】A new session could not be created. UiAutomation not connected
1、解决办法1-粗暴版重启手机,100%解决2、解决办法2-提高程序优先级参考:https://github.com/android/testing-samples/issues/893、原因test program was killed by the android system, causing Uiautomator to not run normally.4、详细报错信息2021-12-08 10:40:30:778 - [debug] [W3C] Encountered int
2021-12-08 18:57:39 3480 2
原创 【Python入门】 Python 简易入门
Python 入门一、Python 环境搭建1、Python2、Python 编辑器3、执行 Python 文件二、Python 语法注释基本数据类型变量控制语句函数、方法、类、模块项目→ 包→ 模块→ 类→ 方法/函数学习资料三、python三方库(UI自动化相关)1、三方库索引2、PyCharm 导入库四、新手学python中可能遇到的问题五、python编写规范一、Python 环境搭建1、Python→ 小白教程->windows上,安装Python环境Python官网下载:https
2021-10-19 11:48:43 566
原创 【Python练手】logging日志修改,显示成毫秒级时间戳 -> 1628822017676
一、初始配置和日志显示1、配置format=%(asctime)s.%(msecs)03d %(name)s %(relativeCreated)d %(levelname)s %(module)s %(funcName)s %(message)sdatefmt=%Y/%m/%d %H:%M:%S2、打印日志2021/08/12 20:56:59.708 root 13280 INFO login click_mine_tab uicase22021/08/12 20:57:00.744 ro
2021-08-13 15:46:30 5391 3
原创 【Appium踩坑】Error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported
Error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported
2021-06-25 23:02:21 3590
原创 【Git】解决 gitignore 不生效问题
1、首先创建文件:.gitignore.gitignore文件内容:# python 项目使用.idea/ venv/ .pyc .idea __pycache__/.DS_Store.xlsx.csv.json.txt2、把 .gitignore push上去git statusgit add .git commit -m "提交gitignore"git push3、解决 .gitignore不生效问题git rm -r --cached .git add .
2021-06-25 22:48:30 314
原创 【Appium踩坑】xcodebuild: Unable to find a destination matching the provided destination specifier
问题现象:1、WebdriverAgent 在 Xcode + 真机上 test 正常2、开启 appium server 后,UI 脚本启动后提示:[W3C][39m Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70解决:1、先查一下 xcodebu
2021-06-25 22:43:29 2743
原创 【Appium踩坑】Building for iOS, but the linked and embedded framework ‘xxx‘ was built for iOS + iOS Simu
【Appium踩坑】Building for iOS, but the linked and embedded framework ‘xxx‘ was built for iOS + iOS Simulator
2021-02-25 12:34:07 1916
原创 【Jenkins】配置DingTalk插件,接收钉钉通知,通知里带上日志和报告
配置DingTalk插件,安装Dingtalk插件系统管理里,配置DingTalk插件管理jenkins-系统配置-钉钉-添加一个机器人项目中,配置DingTalk插件接收钉钉通知,效果,完成yeah~
2021-02-04 20:20:42 1058
原创 【Jenkins】安装失败重试插件Naginator + 以及验证重试效果
失败重试插件-Naginator项目中配置:验证效果:1、开心的在代码里写个错误语句,执行完,竟然是:unstable2、换个思路,改git地址,成功✅重试了yeah
2021-02-04 20:14:00 416
原创 【Appium踩坑】Original error: The instrumentation process cannot be initialized
排查/解决过程:1、重新执行,发现手机上没有打开目标APP,之后报相同错误2、怀疑是 appium 相关几个app问题查看 deviceConfig 里 skipServerInstallation: true改成 skipServerInstallation: false3、重新执行一次,成功4、再改 skipServerInstallation: true,这样下次执行就不会重复安装了根本原因:本地跳过安装 skipServerInstallation 了,新设备没有安装相关appi
2021-01-28 21:01:36 4100 2
原创 【Appium踩坑】Logcat terminated with code 0, signal null
先说结论1、问题现象2、查看日志3、解决4、反思引申先说结论1、这次碰到的问题比较特殊,问题和Appium没关系,和本地adb环境有关。2、解决方式->针对本地adb修改,可能需要adb替换/多个adb删减/adb版本替换1、问题现象脚本启动appium后,App打开后不能进行操作,就一直停在打开App的界面上。2、查看日志日志里有这句:Logcat terminated with code 0, signal null怀疑和adb有关系,尝试查看本地adb环境。3、解决(.
2021-01-27 19:54:29 1295 5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人