请问跨进程测试如何操作
- Dominant language
- Java
- Stars
- 367
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
1、首先我没搞懂跨进程测试的意思。如果是打开其他app的意思的话,不应该是使用remote.launchActivity("com.android.launcher");这个命令吗?
但您的ppt中说是使用 remote.clickViewByText("通讯录");这样的意思就是说,可以退出要测的app,点击ID或Text进入其他app,然后可以在其他app中点击进行操作。
您说的跨进程,是第二种意思对吧。
2、这个remote.clickViewById/Text,这个Id或Text是在Hierarchy Viewer中对应的Id或Text吧?
3、我在使用的过程中,remote.clickViewByText是可以使用的,为什么remote.clickViewById没有反应啊,看源码他们都是调用的同一个方法啊?
请您解答,谢谢!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the issue's references to remote.launchActivity("com.android.launcher"), remote.clickViewByText("通讯录"), remote.clickViewById, the presentation, and Hierarchy Viewer. Clarify what cross-process testing means, how the remote selectors map to Android views, and why text selection works while ID selection does not; done means these questions have documented, reproducible answers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile, testing
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100