这明显是业务部门被运维部门坑了 测试能做什么呢 不要章口就来
哈哈哈哈哈哈哈哈哈哈哈
PC 浏览器看帖 [花生壳域名映射] 部分的图挂了
还有个问题,,,为什么在 max.xpath.selector 这个配置文件的 blacklist 里配置了一些控件 它还是能点击呢
adb shell CLASSPATH=/sdcard/monkey.jar:/sdcard/framework.jar exec app_process /system/bin tv.panda.test.monkey.Monkey -p com.fenbi.android.zenglish --uiautomatortroy --running-minutes 6 --imagepolling -v -v --throttle 500
org.json.JSONException: Unterminated object at character 142 of [
{
"firstList":
[
{ "xpath": "//[@class='android.widget.TextView' and @resource-id='com.fenbi.android.zenglish:id/name']" and @text='如何上课'}
],
"selectList":
[
{ "xpath": "//[@clickable='true'//[contains(name(),'android.widget.FrameLayout')]"}
],
"lastList":
[
{ "xpath": "//[@class='android.widget.LinearLayout' and @resource-id='com.fenbi.android.zenglish:id/tab_bar']" }
],
"blackList":
[
{ "xpath": "//[@class='android.widget.ImageButton' and @resource-id='com.fenbi.android.zenglish:id/sobot_btn_set_mode_rengong']" }
{ "xpath": "//[contains(@content-desc, '确认支付')]" }
{ "xpath": "//[@class='android.webkit.WebView' and @resource-id='com.fenbi.android.zenglish:id/web_view']" }
{ "xpath": "//[@class='android.widget.CheckedTextView' and @resource-id='com.fenbi.android.zenglish:id/ytknavibar_right']" }
{ "xpath": "//[@class='android.widget.TextView' and @resource-id='com.fenbi.android.zenglish:id/text_buy']" }
{ "xpath": "//[@class='android.widget.CheckedTextView' and @resource-id='com.fenbi.android.zenglish:id/mission']" }
{ "xpath": "//[contains(@resource-id, 'com.fenbi.android.zenglish:id/misc')]" }
]
}
]
at org.json.JSONTokener.syntaxError(JSONTokener.java:449)
at org.json.JSONTokener.readObject(JSONTokener.java:393)
at org.json.JSONTokener.nextValue(JSONTokener.java:100)
at org.json.JSONTokener.readArray(JSONTokener.java:429)
at org.json.JSONTokener.nextValue(JSONTokener.java:103)
at org.json.JSONTokener.readObject(JSONTokener.java:384)
at org.json.JSONTokener.nextValue(JSONTokener.java:100)
at org.json.JSONTokener.readArray(JSONTokener.java:429)
at org.json.JSONTokener.nextValue(JSONTokener.java:103)
at org.json.JSONArray.(JSONArray.java:92)
at org.json.JSONArray.(JSONArray.java:108)
at tv.panda.test.monkey.ape.model.XPathSelectorReader.read(XPathSelectorReader.kt:82)
at tv.panda.test.monkey.ape.model.XPathSelectorController.(XPathSelectorController.kt:70)
at tv.panda.test.monkey.MonkeySourceUiAutomatorTroy.(MonkeySourceUiAutomatorTroy.kt:67)
at tv.panda.test.monkey.Monkey.run(Monkey.kt:573)
at tv.panda.test.monkey.Monkey$Companion.main(Monkey.kt:1422)
at tv.panda.test.monkey.Monkey.main(Monkey.kt)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:251)
[Maxim] // Troy Selector:
[Maxim]
[Maxim]
[Maxim] *** ERROR // : the top activity package com.mumu.launcher is invalid.
我的也是空的 我的配置文件和你配置的一样 也把配置文件 push 到 sdcard 上了,。。。请问解决了吗
腾讯的 perfDog