现在国家都要求信创,基本都在改造的路上了,我们在给银联做
是的,可以啊,wholegale39
这看着应该是没连上服务,看看服务是否正常,请求地址或者端口号是否正确
关注了,回头研究研究
也在持续学习这个工具
推测是比特币之类的
pre requestScript 参数预处理,简单写了下用法,可以参考https://testerhome.com/topics/11971
执行完毕,生成的报告为啥跟楼主的不一样,看着像是没有样式了
楼主,你好,能否帮忙看下,执行同样的安卓用例,报以下错误
UIAutomatorWD http server ready
proxy.js:55:14 [master] pid:18500 Proxy: /wd/hub/session/4c70c99a-437c-41fa-9a4c-ebf084fa17c7/element:POST to http://127.0.0.1:9001/wd/hub/session/4c70c99a-437c-41fa-9a4c-ebf084fa17c7/element:POST with body: {"using":"name","value":"HO
ME"}
proxy.js:85:20 [master] pid:18500 Got response with status 200: {"status":32,"value":"Argument was an invalid selector (e.g. XPath/CSS).","sessionId":"4c70c99a-437c-41fa-9a4c-ebf084fa17c7"}
session.js:109:14 [master] pid:18500 Send HTTP Respone to Client[2017-10-16 20:56:09]: {"status":32,"value":"\"Argument was an invalid selector (e.g. XPath/CSS).\"","sessionId":"4c70c99a-437c-41fa-9a4c-ebf084fa17c7"}
responseHandler.js:11:12 [master] pid:18500 Recieve HTTP Request from Client[2017-10-16 20:56:14]: method: POST url: /wd/hub/session/4c70c99a-437c-41fa-9a4c-ebf084fa17c7/element, jsonBody: {"using":"name","value":"Alert"}
restart UIAutomatorWD server
uiautomator-client.js:61:14 [master] pid:18500 INSTRUMENTATION_RESULT: shortMsg=Process crashed.
INSTRUMENTATION_CODE: 0uiautomator-client.js:61:14 [master] pid:18500 INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.macaca.android.testing.UIAutomatorWD:
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test=MacacaTestRunner
INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1uiautomator-client.js:61:14 [master] pid:18500 INSTRUMENTATION_STATUS: stream=
UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
INSTRUMENTATION_STATUS_CODE: 0UIAutomatorWD http server ready
proxy.js:55:14 [master] pid:18500 Proxy: /wd/hub/session/4c70c99a-437c-41fa-9a4c-ebf084fa17c7/element:POST to http://127.0.0.1:9001/wd/hub/session/4c70c99a-437c-41fa-9a4c-ebf084fa17c7/element:POST with body: {"using":"name","value":"Al
ert"}
proxy.js:85:20 [master] pid:18500 Got response with status 200: {"status":32,"value":"Argument was an invalid selector (e.g. XPath/CSS).","sessionId":"4c70c99a-437c-41fa-9a4c-ebf084fa17c7"}
session.js:109:14 [master] pid:18500 Send HTTP Respone to Client[2017-10-16 20:56:16]: {"status":32,"value":"\"Argument was an invalid selector (e.g. XPath/CSS).\"","sessionId":"4c70c99a-437c-41fa-9a4c-ebf084fa17c7"}
responseHandler.js:11:12 [master] pid:18500 Recieve HTTP Request from Client[2017-10-16 20:56:17]: method: POST url: /wd/hub/session/4c70c99a-437c-41fa-9a4c-ebf084fa17c7/element, jsonBody: {"using":"name","value":"Alert"}
restart UIAutomatorWD server
uiautomator-client.js:61:14 [master] pid:18500 INSTRUMENTATION_RESULT: shortMsg=Process crashed.
INSTRUMENTATION_CODE: 0uiautomator-client.js:61:14 [master] pid:18500 java.lang.SecurityException: Calling from not trusted UID!
at android.app.UiAutomationConnection.throwIfCalledByNotTrustedUidLocked(UiAutomationConnection.java:376)
at android.app.UiAutomationConnection.shutdown(UiAutomationConnection.java:275)
at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:118)
at android.os.Binder.execTransact(Binder.java:455)uiautomator-client.js:61:14 [master] pid:18500 java.lang.SecurityException: Calling from not trusted UID!
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at android.app.ActivityManagerProxy.startInstrumentation(ActivityManagerNative.java:3913)
at com.android.commands.am.Am.runInstrument(Am.java:976)
at com.android.commands.am.Am.onRun(Am.java:317)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:97)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:284)
以上问题已解决,目前使用安卓 7.0 设备已跑通样例,好艰难
安卓 5.1,我这边也遇见了,楼主解决了吗?