2.1.2 版本运行加参数: --report-template extent-theme-template.html
报错: jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'meta_data'
哈哈哈 666,这对 windows 比较友好啊开箱即用
你好,想问下,直接运行这个 jar 包提示木有 macaca-client
{"返回结果":"寻找元素失败,请初始化 Macaca-client"}
我这要有啥前置步骤吗
### 已解决~
踩坑帖的操作都做齐了,运行 xcodebuild 的时候会报如下错误:
Testing failed:
Use of undeclared type 'XCUIElement'
Use of undeclared type 'XCElementSnapshot'
Use of undeclared type 'XCUIApplication'
Use of undeclared type 'XCUIApplication'
Cannot invoke 'XCUIApplication.Type.init' with an argument list of type '(privateWithPath: String?, bundleID: String?)'
Use of undeclared type 'XCUIApplication'
Value of type 'XCUIApplication' has no member 'processID'
Use of undeclared type 'XCUIApplication'
Use of undeclared type 'XCUIElement'
Cannot invoke 'XCUIApplication.Type.init' with an argument list of type '(privateWithPath: String?, bundleID: String?)'
Value of type 'XCUIApplication' has no member 'processID'
** TEST FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/micky/Fastmonkey/XCTestWD-master/XCTestWD/XCTestWDUITests/server/controllers/Random.swift
CompileSwift normal x86_64 /Users/micky/Fastmonkey/XCTestWD-master/XCTestWD/XCTestWDUITests/server/controllers/XCTestWDSessionController.swift
CompileSwift normal x86_64 /Users/micky/Fastmonkey/XCTestWD-master/XCTestWD/XCTestWDUITests/server/controllers/XCTestWDMonkeyController.swift
CompileSwift normal x86_64 /Users/micky/Fastmonkey/XCTestWD-master/XCTestWD/XCTestWDUITests/server/controllers/XCTestWDTitleController.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(5 failures)
xcode 9.2
请教:
修改了启动 tomcat 的端口,其他配置与命令都如教程。ios-minicap 配置没问题,单独的 WDA 也配置成功的,连接一台真机
能够成功在页面上看见当前真机的界面,但点按操作时,有报错。是在哪里配置有误
iproxy 8200 8100:
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 39 (serial: 2466e45b2af1a78ccaf858ca913230398e726d8b), port 8100
Error connecting to device!
mvn tomcat:
org.apache.tomcat.websocket.pojo.PojoEndpointBase onError
严重: No error handling configured for [com.demo.ios.WebSocketController] and the following error occurred
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.coyote.http11.upgrade.BioServletInputStream.doRead(BioServletInputStream.java:37)
at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:125)
at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:45)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:192)
at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:178)
at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:92)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
请教一下,运行后报错
FileNotFoundError: [Errno 2] No such file or directory: 'adb -s DU2TDM15AG048271 shell cat /proc/meminfo'
但实际运行命令 adb -s DU2TDM15AG048271 shell cat /proc/meminfo 是可行的,文件也存在
已经重装解决
重签名了 XCTestWD.XCTestWD
如果有转产品的心建议先在本公司转为产品(哪怕你不认同自己公司产品做法),再走出去。
插桩后的 apk 能被成功安装,但是打开 app 就 crash。
不知是客户端问题还是插桩的缘故。
好的,感谢
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated win-spawn@2.0.0: use [cross-spawn](https://github.com/IndigoUnited/node-cross-spawn) or [cross-spawn-async](https://github.com/IndigoUnited/node-cross-spawn-async) instead.
npm WARN deprecated node-uuid@1.4.7: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "app-inspector" "-g" "--registry=https://registry.npm.taobao.org"
npm ERR! node v6.7.0
npm ERR! npm v3.10.9
npm ERR! path /usr/local/lib/node_modules/app-inspector/node_modules/webdriveragent
npm ERR! code EISGIT
npm ERR! git /usr/local/lib/node_modules/app-inspector/node_modules/webdriveragent: Appears to be a git repo or submodule.
npm ERR! git /usr/local/lib/node_modules/app-inspector/node_modules/webdriveragent
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
问题已经解决,感谢。
你好,我照着配了一下,运行时候 macaca server 处报:BundleId com.apple.test.WebDriverAgentRunner-Runner does not exist.导致 monkey 无法进行
但是在重签名的时候我并没有将 Bundleld 改成 com.apple.test.WebDriverAgentRunner-Runner
想请教一下这边是我漏改了哪出造成的问题?
是不是这样会好?
public boolean isElementPresented(By by) throws Exception
hi,all,我是 mijiawei,
QQ:395150886
工作点:上海某传统互联网私企
年限:1 年(含实习)
工作面:移动端功能测试(含一些浅显的 UI 自动化 appium\macaca 实践);WEB 端性能
兴趣点:native app,web,wap 三端 UI 自动化测试;接口测试
其他介绍:感觉各种方面自己学的都很皮毛,想做地更好更系统
执行:sudo hostapd -B /etc/hostapd/hostapd.conf
报错:
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Driver does not support authentication/association or connect commands
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface wlan0 wasn't started
你好,我运行了以后只能查看本地的报告,
服务端http://localhost:1337,显示服务器未响应。