python+PyQt 确实是个思路,我也实现了一套 android app 性能测试工具,带 ui 的,但是采样频率是个问题,目前能做到 2 秒左右采样 1 次,做不到 1 秒以内,耗时卡在 matplotlib 绘制性能数据折线图这块,放到子线程绘图会报错,放到子进程应该可以,但是不想折腾了,就这样先用着
ddmlib 了解一下,然后自己造个轮子
膜拜大神,坐等开源
图片对比这个怎么区分相邻 2 张图片到底是一帧还是两帧呢
不要-w 试试
使用高速摄像机来测 fps,请问摄像机拍摄的帧率设置多少合适?60?120?拍摄的相邻两张图片差异很小,甚至是人眼看不出来差异,这两张图片算一帧么?有图片对比方法推荐吗?能详细说说么
Appium 1.7.2 python,红米 note3 ,android 5.1.1 手机,启动就报无效的 android 版本:Encountered internal error running command: TypeError: Invalid Version: android-4.4.2
重装 appium 还是报这个错,郁闷死了
知道问题原因了,没有进入 ios-app-bootstrap,执行 carthage update 下载依赖
这个包报找不到 logger 模块,怎么破
编译 ios-app-bootstrap 报 import logger 错误,没有这个模块
今天按官网文档,重新安装 macaca,现在模拟器上,demo app 启动就闪退,WebDriverAgentLib 和 WebDriverAgentRunner,重新编译,闪退问题还没解决,真机一直报『The environment you requested was unavailable.』
安装完 macaca,提示找不到 mocha
编译时提示 bundle id 不唯一,怎么破
Failed to create provisioning profile.
The app ID "com.facebook.WebDriverAgentRunner" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
依赖我已经下载了,但是报 WebDriverAgent 需要一个 team,然后就用自己的 apple id 重新编译了下,现在还是报错,提示 profile 问题,怎么破?
2017-03-09 07:23:51:463 - [Xcode] 2017-03-09 15:23:51.462 xcodebuild[93169:1983424] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled <DTXChannel: 0x7fdd86a6e980>
2017-03-09 07:23:51:463 - [Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
2017-03-09 07:23:51:464 - [Xcode]
2017-03-09 07:23:51:466 - [Xcode]
Testing failed:
No profiles for 'com.facebook.WebDriverAgentRunner' were found: Xcode couldn't find a provisioning profile matching 'com.facebook.WebDriverAgentRunner'.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
同问,这个问题解决了吗
报错如下:
16:40:19.737 xcodebuild[81666:1571339] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
16:40:19.739 xcodebuild[81666:1571339] Initializing test infrastructure.
16:40:19.928 xcodebuild[81666:1571354] Creating the test bundle connection.
16:40:19.928 xcodebuild[81666:1571354] Listening for proxy connection request from the test bundle (all platforms)
16:40:19.928 xcodebuild[81666:1571354] Resuming the connection.
16:40:19.929 xcodebuild[81666:1571354] Test connection requires daemon assistance.
16:40:19.929 xcodebuild[81666:1571339] Starting test session with ID 72A0A106-1EC4-46C0-8DC8-044AF948BD6D
16:40:19.929 xcodebuild[81666:1571339] Checking test manager availability..., will wait up to 120s
16:40:19.954 xcodebuild[81666:1571339] Test operation failure: Test operation was canceled.
16:40:19.954 xcodebuild[81666:1571339] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled." UserInfo={NSLocalizedDescription=Test operation was canceled.} didCancel: 1
这个 swiftmonkey 搞起来有点复杂,我在网上找了一个简单的,也是用 swift 跑 monkey,就是效率很低,点击几乎是完全随机的,有效点击太少,而且一段出错就无法再次启动,而且要源码,想用 appium 自己写个自动化脚本跑 monkey,现在卡在环境搭建上,之前用 appium1.5.x,环境用例是可以正常跑起来的
期待完整的 monkey 方案
能支持 ios10 吗?
OC 项目可以导入这个 swift monkey 吗?
手动执行 idevicedate -u 5fec064b64dbab3b3f988abb65726b52ac03b7d2
报下面这个错,怎么破?
ERROR: Could not connect to lockdownd, error code -5
第 13 步,执行时报这个错:
###
Jackey-Mac:WebDriverAgent Jackey$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=5fec064b64dbab3b3f988abb65726b52ac03b7d2' test
2017-02-17 16:05:34.321 xcodebuild[5766:190467] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk; its version (9.2) is below required minimum (10.2) for the iphoneos platform.
2017-02-17 16:05:34.322 xcodebuild[5766:190467] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk; its version (9.2) is below required minimum (10.2) for the iphoneos platform.
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:5fec064b64dbab3b3f988abb65726b52ac03b7d2 }
Available destinations for the "WebDriverAgentRunner" scheme:
{ platform:macOS, arch:x86_64h }
Jackey-Mac:WebDriverAgent Jackey$
###
#69 楼 @chenhengjie123 有支持 ios10 的 monkey 方案吗?
#54 楼 @Lihuazhang 能给个能用的指导文档吗?现在 ios10 的 monkey 测试还没搞定