Skip to content
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.widget.black不生效 #285

Open
donglujie opened this issue Jun 13, 2024 · 1 comment
Open

max.widget.black不生效 #285

donglujie opened this issue Jun 13, 2024 · 1 comment

Comments

@donglujie
Copy link

文件配置:
[
{
"activity": "com.tal.xpod.ket.home.index.MainActivity",
"xpath": "//[@resource-id='com.tal.xpod.ket.debug:id/tv_logout' and @Class='android.widget.TextView' and @text='退出当前账号']"
},
{
"activity": "com.tal.xpod.ket.home.index.MainActivity",
"xpath": "//
[@resource-id='com.tal.xpod.ket.debug:id/tv_left_btn' and and @Class='android.widget.TextView' and @text='退出']"
}
]
命令:
adb shell CLASSPATH=/sdcard/monkeyq.jar:/sdcard/framework.jar:/sdcard/fastbot-thirdpart.jar exec app_process /system/bin com.android.commands.monkey.Monkey -p xx --agent reuseq --running-minutes 60 -v -v -v -v >log.txt 2>err.txt

求帮忙看看原因。

@nuandong666
Copy link

第二个xpath 有两个and

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants