Commit Graph

608 Commits

Author SHA1 Message Date
lilong.129
1145f424b1 feat: implement two-level auto popup handler configuration
- Add AutoPopupHandler field to both TConfig and StepConfig
- Support testcase-level global configuration via TConfig.EnableAutoPopupHandler()
- Support step-level specific configuration via StepMobile.EnableAutoPopupHandler()
- Priority: testcase config > step config > default disabled
- Simplify Loops field type from *types.IntOrString to int in StepConfig
- Update documentation to reflect new structure
2025-06-14 12:11:04 +08:00
lilong.129
f6e7e970f8 feat: 实现 AIQuery 功能并支持 OutputSchema
- 新增 AIQuery 方法到 StepMobile,支持使用自然语言从屏幕中提取信息
- 实现 AIQuery 在 driver_ext_ai.go 中的完整功能,包括屏幕截图和 LLM 查询
- 添加 OutputSchema 支持,允许用户定义自定义输出格式进行结构化查询
- 新增 ToolAIQuery MCP 工具,完整集成到 MCP 服务器中
- 在 ActionOptions 中添加 OutputSchema 字段和 WithOutputSchema 选项函数
- 添加 ACTION_Query 的配置支持和字段映射
- 完善测试覆盖:
  * 添加 TestAIQuery 单元测试,包含多种 OutputSchema 使用场景
  * 添加 TestToolAIQuery MCP 工具测试
  * 定义 GameInfo、UIElementInfo 等结构体用于测试
- 更新文档:
  * 在 docs/uixt/ai.md 中添加完整的 AIQuery 使用指南
  * 包含基本用法、OutputSchema 示例、最佳实践等
- 支持复杂的嵌套结构体和数组类型的 OutputSchema
- 与现有 AIAction、AIAssert 功能保持一致的 API 设计
2025-06-13 10:27:08 +08:00
lilong.129
51ee639cac docs: update docs 2025-06-11 14:57:08 +08:00
lilong.129
a91a10ac13 docs: update cmd docs 2025-06-09 00:06:23 +08:00
lilong.129
f4cc74b3ca docs: update dev instruct 2025-05-27 15:34:41 +08:00
lilong.129
6c60383f70 docs: add architecture 2025-05-27 15:28:03 +08:00
lilong.129
7fb966b7ba refactor: improve ActionMethod type safety and eliminate type conversions 2025-05-27 11:49:30 +08:00
lilong.129
2e17d9df16 refactor: merge DoAction to mcp server tools 2025-05-25 23:53:07 +08:00
lilong.129
e35d644acf docs: update docs 2025-05-17 12:20:45 +08:00
lilong.129
f8b7a42560 feat: hrp mcphost 2025-05-16 13:37:52 +08:00
lilong.129
cfc71819d2 feat: mark tap/swipe UI operation 2025-05-05 16:31:13 +08:00
lilong.129
03c0d6ee42 docs: update hrp cmd docs 2025-04-24 22:31:03 +08:00
lilong.129
1f063dd6f7 refactor: move hrp/ to root folder 2025-02-06 11:03:41 +08:00
lilong.129
a76e8b9a90 docs: update docs 2024-11-09 23:06:38 +08:00
徐聪
0c2244c5bc fix: resolve conflicts 2024-08-14 11:29:45 +08:00
徐聪
42f68e0641 fix: resolve conflicts 2024-07-19 15:11:16 +08:00
huangbin.beal@163.com
41b32a76a2 chore: change log 2024-03-29 11:43:05 +08:00
huangbin.beal@163.com
a69ef2d87f fix: compress image for req 2024-03-25 20:34:03 +08:00
huangbin.beal@163.com
e9d039b58b chore: add change log 2024-03-19 16:33:03 +08:00
lilong.129
70c91a9f5a feat: add Shell step type 2024-01-18 23:35:35 +08:00
lilong.129
7fec81f313 Merge branch 'master' into swipe-random 2023-09-19 18:27:46 +08:00
lilong.129
68051b317c feat: add WithSwipeOffset to set offset for swipe start/end point 2023-09-19 16:55:44 +08:00
lilong.129
07cfe2dc97 Merge branch 'master' into swipe-random 2023-09-19 16:54:22 +08:00
lilong.129
8aac99e6a4 set tag v4.3.6 2023-09-19 16:51:34 +08:00
lilong.129
3bd10484e5 feat: add WithSwipeOffset to set offset for swipe start/end point 2023-09-19 16:45:10 +08:00
buyuxiang
c6507447e2 feat: support new action: close_popups 2023-08-28 17:59:22 +08:00
debugtalk
8f7da0f2ac Merge pull request #1679 from httprunner/fix-ios-scale
fix: iOS `tap_xy` scale adaption error
2023-08-25 17:45:16 +08:00
buyuxiang
249e30ad2d fix: iOS tap_xy scale adaption error 2023-08-25 16:16:27 +08:00
buyuxiang
6bcde3627b feat: support parsing expect value of ui validator 2023-08-25 11:55:31 +08:00
lilong.129
be87a2cdcc fix: TestSleepStrict 2023-08-24 21:18:01 +08:00
lilong.129
e523c4ecc9 feat: support action options for ScreenShot, WithScreenShotOCR/WithScreenShotUpload/WithScreenShotLiveType/WithScreenShotUIType 2023-08-22 21:04:04 +08:00
lilong.129
b9ceb2e4fa change: set log timestamp precise to milliseconds 2023-08-20 22:35:02 +08:00
lilong.129
1153ebf200 change: upgrade funplugin to v0.5.3 2023-08-20 21:50:23 +08:00
lilong.129
c2935cf1a6 change: create python3 plugin venv with latest funppy/httprunner 2023-08-20 14:09:37 +08:00
lilong.129
b5c8a98ed2 change: bump version to v4.3.6 2023-08-20 13:49:54 +08:00
debugtalk
ee04fb5702 update hrp plugin (#1668)
* change: upgrade go mod zerolog

* change: relocate ocr_test

* refactor: init logger

* change: hrp exit log

* change: update logs

* change: upgrade funplugin to 0.5.2

* change: update change log
2023-08-11 15:34:49 +08:00
buyuxiang
2610f023f5 add options for GetImage method 2023-08-01 14:13:50 +08:00
buyuxiang
02c7d3c6cf feat: tap_cv action supports ui type detection and tap 2023-07-31 21:15:07 +08:00
buyuxiang
c91be64240 refactor UIA2 / WDA driver request 2023-07-24 17:43:36 +08:00
bbx-winner
0cbc5eec5a Merge branch 'master' into auto-reset-session 2023-07-24 13:34:37 +08:00
lilong.129
bc65eb9809 feat: report GA4 events for hrp cmd 2023-07-23 23:59:01 +08:00
lilong.129
0a88e3a57f fix: unittests 2023-07-23 23:03:25 +08:00
lilong.129
d04609529c change: create python venv with httprunner minimum version v4.3.5 2023-07-23 14:58:22 +08:00
lilong.129
5462190f63 fix: unittests 2023-07-23 14:52:49 +08:00
lilong.129
430bc3ec0e refactor: upgrade httprunner dependencies 2023-07-21 20:24:43 +08:00
buyuxiang
135e24d378 feat: support to reset session automatically when crashed 2023-07-20 19:52:52 +08:00
lilong.129
6e7495d6bb update changelog 2023-06-01 21:21:48 +08:00
lilong.129
d5554b38ac change: remove dial ping and dns 2023-05-31 21:29:35 +08:00
lilong.129
aa65962ffe bump version 2023-05-31 20:50:40 +08:00
lilong.129
9d78c52713 bump version 2023-05-31 11:45:26 +08:00