Skip to main content

元心智能移动操作系统UI自动化测试框架

  • 适用与SyberOS5.0及以上版本,包括5.5及以上的安卓兼容版本。
  • 推荐适用环境:python3.8+ubuntu1804/MacOS。python3版本过高或过低可能存在依赖安装失败的问题。

安装

1.更新pip工具至最新版本:

python3.8 -m pip install --upgrade pip

2.安装uitestrunner-syberos:

python3.8 -m pip install uitestrunner-syberos

如果在中国大陆下载太慢的话可以换源,在命令后面添加参数-i https://mirrors.aliyun.com/pypi/simple/

快速开始

1.准备设备。确保设备已经连接至电脑,并开启USB调试模式。通过ssh或adb/cdb等方式登录设备。执行命令以开启UI自动化测试服务guiautotestd:

guiautotest-ctl enable
reboot
  • ssh用户名密码默认为developer,密码为system。
  • 每台设备只需要执行一次即可。执行后设备会自动重启。

2.连接及测试。SyberOS设备的USB端口一般默认为rndis模式,设备地址为192.168.100.100,guiautotestd服务端口为10008。通过浏览器访问http://192.168.100.100:10008,即可打开UIMonitor界面如下图: 图片访问失败

  • UIMonitor工具用于以可视化的方式查看设备上的UI元素的布局信息,以及各个元素的详细属性信息和定位信息等。同时也支持一定的远程控制功能,如屏幕的点击、滑动等操作。
  • 部分SyberOS的设备可能根据项目要求的不同而使用了其它USB端口模式,如adb、cdb等。如果是此种情况应通过adb/cdb工具的端口转发功能将guiautotestd的服务端口映射到本地。命令示例如下:
    adb forward tcp:10008 tcp:10008
    
    此时则改由通过http://127.0.0.1:10008访问UIMonitor。

Metadata

Release files for uitestrunner-syberos 3.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uitestrunner-syberos 3.2.1
File Size Uploaded Provenance Actions
uitestrunner_syberos-3.2.1.tar.gz 61.3 MB With provenance Details for uitestrunner_syberos-3.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uitestrunner-syberos 3.2.1
File Interpreter ABI Platform Actions
uitestrunner_syberos-3.2.1-py3-none-any.whl Python 3 none any Details for uitestrunner_syberos-3.2.1-py3-none-any.whl

Total release size: 122.8 MB

Release files / uitestrunner_syberos-3.2.1.tar.gz

Download URL uitestrunner_syberos-3.2.1.tar.gz
Size 61.3 MB
Tags Source
SHA-256 checksum
How to use checksums
827a0f0a619cd69778c35c23f01f01b53ed617b67d9d7f75f899fd2c1539ef54
BLAKE2b-256 checksum
How to use checksums
8c95a21e9e3871cf0a7a1bd760397796ce3a03a6cf8ca2576fc50eb9c928dadc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / uitestrunner_syberos-3.2.1-py3-none-any.whl

Download URL uitestrunner_syberos-3.2.1-py3-none-any.whl
Size 61.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8b56e483528f8d46a8eb4493f643533cbdc433f43c34283efc45b5527b7d46dd
BLAKE2b-256 checksum
How to use checksums
b0462b332b6eea22c676211839fad405923a5f86932cfe291e992f8f5b6f5429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for uitestrunner-syberos 3.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for uitestrunner_syberos-3.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.2.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page