Tencent / Tencent/Hippy

自动化测试时的无障碍页面控件必要的定位id显示不正确

Open
#4,576 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale: 30d
Dominant language
C++
Stars
8.6k
Forks
1k
Avg merge
1h 31m
Merged PRs (30d)
3

Description

描述你的问题或希望得到什么支持

请问鸿蒙的hippy框架的页面,在测试做自动化测试无障碍标签查看时,页面控件必要的定位id对应的值不是前端设置的文字而是数字,原生能做什么把这个key和前端的设置对应上吗?

其他补充信息

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is identified in the issue. Start by reproducing the accessibility inspection during automated testing on the HarmonyOS Hippy page, then trace how the frontend locator key is mapped to the native control; done means the accessibility locator displays the configured frontend value instead of a numeric value.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
accessibility, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.