lilong.129 c204542f1f feat: optimize UI-TARS parser with coordinate conversion and action mapping
- Add action mapping for UI-TARS parser to convert action names to option.ActionName
- Implement bounding box to center point coordinate conversion for better accuracy
- Update coordinate normalization to handle coordinates > 1000 properly
- Enhance test cases to verify coordinate scaling and center point conversion
- Improve action argument processing with proper coordinate transformation
- Add comprehensive test coverage for coordinate conversion edge cases

Key improvements:
- Bounding box [x1,y1,x2,y2] now converts to center point [cx,cy] for actions
- Coordinate scaling properly handles different screen resolutions
- Action names are mapped through doubao_1_5_ui_tars_action_mapping
- Enhanced error handling for invalid coordinate formats
2025-06-04 23:16:14 +08:00
2025-03-07 23:13:08 +08:00
2025-04-28 21:06:53 +08:00
2025-05-27 15:34:41 +08:00
2025-05-12 15:25:32 +08:00
2025-03-19 00:09:16 +08:00
2025-03-05 11:47:08 +08:00
2025-05-25 00:15:18 +08:00
2022-06-09 23:50:04 +08:00
fix
2025-05-27 20:13:14 +08:00
fix
2025-05-27 20:13:14 +08:00
2018-12-17 18:40:26 +08:00
2025-03-31 14:54:58 +08:00
2025-02-06 11:03:41 +08:00
2025-04-24 18:40:48 +08:00
2025-03-05 11:47:08 +08:00
2025-05-26 15:30:51 +08:00
2025-03-05 19:39:18 +08:00
2025-04-28 22:10:16 +08:00
2025-04-28 22:10:16 +08:00
2025-02-06 11:03:41 +08:00
2025-03-05 11:47:08 +08:00
2025-05-12 15:25:32 +08:00
2025-03-05 18:11:00 +08:00
2025-05-07 20:12:06 +08:00

HttpRunner

Github Actions codecov Go Reference downloads TesterHome

⚠️ HttpRunner v5 only includes the Golang version, and the Python version of the code has been migrated to httprunner/httprunner.py

HttpRunner (also known as hrp) is an open-source testing framework that was born in 2017. Initially, it was used for API interface and performance testing, and later evolved into a versatile and extensible testing framework.

In 2022, HttpRunner began to support UI automation testing, currently supporting multiple system platforms such as Android/iOS/Harmony/Browser, and integrated large model technology in v5.

Compared to other UI automation frameworks, HttpRunner's main features include:

  • Pure visual-driven solution (OCR/CV/LLM), pursuing universality and minimal performance loss
  • Unified API across multiple platforms, reducing learning and horizontal expansion costs
  • Embracing the open-source ecosystem, fully reusing open-source components

HttpRunner v5 用户指南(更新中) HttpRunner DeepWiki

Usage

$ hrp -h

██╗  ██╗████████╗████████╗██████╗ ██████╗ ██╗   ██╗███╗   ██╗███╗   ██╗███████╗██████╗
██║  ██║╚══██╔══╝╚══██╔══╝██╔══██╗██╔══██╗██║   ██║████╗  ██║████╗  ██║██╔════╝██╔══██╗
███████║   ██║      ██║   ██████╔╝██████╔╝██║   ██║██╔██╗ ██║██╔██╗ ██║█████╗  ██████╔╝
██╔══██║   ██║      ██║   ██╔═══╝ ██╔══██╗██║   ██║██║╚██╗██║██║╚██╗██║██╔══╝  ██╔══██╗
██║  ██║   ██║      ██║   ██║     ██║  ██║╚██████╔╝██║ ╚████║██║ ╚████║███████╗██║  ██║
╚═╝  ╚═╝   ╚═╝      ╚═╝   ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝

HttpRunner: Enjoy your All-in-One Testing Solution ✨ 🚀 ✨

💡 Simple Yet Powerful
   - Natural language driven test scenarios powered by LLM
   - User-friendly SDK API with IDE auto-completion
   - Intuitive GoTest/YAML/JSON/Text testcase format

📌 Comprehensive Testing Capabilities
   - UI Automation: Android/iOS/Harmony/Browser
   - API Testing: HTTP(S)/HTTP2/WebSocket/RPC
   - Load Testing: run API testcase concurrently with boomer

🧩 High Scalability
   - Plugin system for custom functions
   - Distributed testing support
   - Cross-platform: macOS/Linux/Windows

🛠 Easy Integration
   - CI/CD friendly with JSON logs and HTML reports
   - Rich ecosystem tools

Learn more:
Website: https://httprunner.com
GitHub: https://github.com/httprunner/httprunner

Copyright © 2017-present debugtalk. Apache-2.0 License.

Usage:
  hrp [command]

Available Commands:
  adb          simple utils for android device management
  build        build plugin for testing
  completion   Generate the autocompletion script for the specified shell
  convert      convert multiple source format to HttpRunner JSON/YAML/gotest/pytest cases
  help         Help about any command
  ios          simple utils for ios device management
  pytest       run API test with pytest
  run          run API test with go engine
  server       start hrp server
  startproject create a scaffold project
  wiki         visit https://httprunner.com

Flags:
  -h, --help               help for hrp
      --log-json           set log to json format (default colorized console)
  -l, --log-level string   set log level (default "INFO")
      --venv string        specify python3 venv path
  -v, --version            version for hrp

Use "hrp [command] --help" for more information about a command.

User Cases

Subscribe

关注 HttpRunner 的微信公众号,第一时间获得最新资讯。

HttpRunner
Description
HttpRunner 是一款开源的 API/UI 测试框架,简单易用,功能强大,具有丰富的插件化机制和高度的可扩展能力。
Readme Apache-2.0 57 MiB
Languages
Go 98.2%
HTML 0.6%
Shell 0.6%
Python 0.5%
Makefile 0.1%