Fastbot_Android
Fastbot_Android copied to clipboard
Fastbot(2.0) is a model-based testing tool for modeling GUI transitions to discover app stability problems
debug确认是c++代码读取模型文件失败,导致停止fastbot,临时修复方式时每次执行前先将模型文件删除再跑就可以规避了,可以细看下
- 运行命令(配置了10分钟):adb shell CLASSPATH=/sdcard/monkeyq.jar:/sdcard/framework.jar:/sdcard/fastbot-thirdpart.jar exec app_process /system/bin com.android.commands.monkey.Monkey -p xxx --agent robot --running-minutes 10 --throttle 500 -v -v --bugreport --output-directory /sdcard/test/log/crash - 实际结果:停留在某个页面事件过长(该页面没有很多元素,不知道为啥在这个页面停留这么久),然后突然停止运行了,还没到预期的时间 
华为nova7Pro,HarmonyOS4.0.0,操作过程经常打开顶部控制中心把wifi关掉,现在通过adb命令也没法隐藏顶部状态栏,以前可以,有没有别的办法来解决这个问题?
Thank you this framework is super good. I want to further extend the application with extra functionalities such as dealing with WebView and communication with a local LLM. I hope...
# 黑控件仍然被点击到问题 ## 复现场景 使用 fastbot 进行自动化测试时,偶现点击到黑控件区域,导致不符合预期的行为。 - 使用 max.widget.black 配置如下 ```json [{ "activity": "com.xegale.mobile.main.MainActivity", "xpath": "//*[@resource-id='com.xeagle.mobile:id/sniff_default_iv']" }, { "activity": "com.xegale.mobile.main.MainActivity", "xpath": "//*[@resource-id='com.xeagle.mobile:id/bottom_tab_layout']" }] ``` 在实际使用中发现,即使配置了黑控件区域,仍然偶现点击到黑控件区域。 ## 问题分析 使用 uiautomatorviewer...
```bash java.lang.IllegalStateException: UiAutomationService android.accessibilityservice.IAccessibilityServiceClient$Stub$Proxy@5b734d4already registered! at android.os.Parcel.createExceptionOrNull(Parcel.java:3030) at android.os.Parcel.createException(Parcel.java:3006) at android.os.Parcel.readException(Parcel.java:2989) at android.os.Parcel.readException(Parcel.java:2931) at android.view.accessibility.IAccessibilityManager$Stub$Proxy.registerUiTestAutomationService(IAccessibilityManager.java:845) at android.app.UiAutomationConnection.registerUiTestAutomationServiceLocked(UiAutomationConnection.java:558) at android.app.UiAutomationConnection.connect(UiAutomationConnection.java:112) at android.app.UiAutomation.connectWithTimeout(UiAutomation.java:337) at android.app.UiAutomation.connect(UiAutomation.java:289) at com.android.commands.monkey.source.MonkeySourceApeNative.connect(MonkeySourceApeNative.java:292) at com.android.commands.monkey.source.MonkeySourceApeNative.(MonkeySourceApeNative.java:266) at com.android.commands.monkey.Monkey.run(Monkey.java:775) at...
Is there a way to pause execution? For instance, is there a command to control the running of random operations after a certain period, facilitating adjustments to some pages of...
通过 https://github.com/bytedance/Fastbot_Android/blob/main/native/agent/ModelReusableAgent.cpp#L487 此处输出的log发现,fbm文件中存在重复的数据,同一个action hash下会存在多条相同activity的数据,如下: 02-07 11:03:14.772 5890 5890 D [Fastbot]: load model hash: 4325384338484416857 xxxActivity 17 02-07 11:03:14.772 5890 5890 D [Fastbot]: load model hash: 4325384338484416857 xxxActivity 176 02-07 11:03:14.772...
  有没有遇到一样问题的,该怎么配置呢