Fastbot_Android icon indicating copy to clipboard operation
Fastbot_Android copied to clipboard

max.xpath.actions 不生效

Open taisiting opened this issue 1 year ago • 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 } ] } ]

taisiting avatar May 16 '24 09:05 taisiting

找到解决方法了嘛?我的需求是配置屏蔽控件,同样使用xpath定位,不生效。

woody-tang avatar May 31 '24 06:05 woody-tang

有解决办法吗?我这边需求是进到一个页面里后再跑测试,也是使用xpath定位,没有生效

fengzhongdeyan62912 avatar Jun 25 '24 06:06 fengzhongdeyan62912

确保元素 clickable是true,

在 2024-05-31 14:51:36,"Woody-Tang" @.***> 写道:

找到解决方法了嘛?我的需求是配置屏蔽控件,同样使用xpath定位,不生效。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

taisiting avatar Jun 26 '24 03:06 taisiting

确保元素 clickable是true,

在 2024-06-25 14:26:23,"fengzhongdeyan62912" @.***> 写道:

有解决办法吗?我这边需求是进到一个页面里后再跑测试,也是使用xpath定位,没有生效

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

taisiting avatar Jun 26 '24 03:06 taisiting