max.xpath.actions 不生效
taisiting opened this issue · 4 comments
配置了 max.xpath.actions, 并且 adb push max.xpath.actions /sdcard,运行fastbot后并没有生效配置内容
[
{
"prob": 1,
"activity":"com.game.ui.MDMainActivity",
"times": 1,
"actions": [
{
"xpath":"//[@resource-id='com.game.friends.android:id/soundWave']",
"action": "CLICK",
"throttle": 500
}
]
},
{
"prob": 1,
"activity":"com.game.voiceroom.ui.VoiceRoomActivity",
"times": 1,
"actions": [
{
"xpath":"//[@resource-id='com.game.friends.android:id/id_voice_room_country_iv']",
"action": "CLICK",
"throttle": 500
},
{
"xpath":"//[@resource-id='com.game.friends.android:id/bgView']",
"action": "CLICK",
"throttle": 500
},
{
"xpath":"//[@resource-id='com.game.friends.android:id/giftImage']",
"action": "CLICK",
"throttle": 500
},
{
"xpath":"//*[@resource-id='com.game.friends.android:id/id_send_gift_layout']",
"action": "CLICK",
"throttle": 500
}
]
}
]
找到解决方法了嘛?我的需求是配置屏蔽控件,同样使用xpath定位,不生效。
有解决办法吗?我这边需求是进到一个页面里后再跑测试,也是使用xpath定位,没有生效