-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
max.xpath.actions 不生效 #282
Comments
找到解决方法了嘛?我的需求是配置屏蔽控件,同样使用xpath定位,不生效。 |
有解决办法吗?我这边需求是进到一个页面里后再跑测试,也是使用xpath定位,没有生效 |
确保元素 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: ***@***.***>
|
确保元素 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: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
配置了 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
}
]
}
]
The text was updated successfully, but these errors were encountered: